CVE-2026-14684: HdrHistogram Memory Exhaustion Vulnerability – Local Exploitation Only
HdrHistogram, a Java library used for recording and analyzing latency distributions, contains a flaw in how it decodes serialized histogram data from byte buffers. When processing the numberOfSignificantValueDigits parameter during deserialization, the library can allocate excessive memory without proper bounds checking. This is a local-only vulnerability—an attacker must already have access to run code on the affected system. While proof-of-concept code has been published, the security community disputes whether this crosses a meaningful security boundary, since the preconditions for exploitation are restrictive.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 3.3 LOW · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- Weaknesses (CWE)
- CWE-400, CWE-789
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-05 / 2026-07-16
NVD description (verbatim)
A flaw has been found in HdrHistogram up to 2.2.2. This affects the function org.HdrHistogram.AbstractHistogram.decodeFromByteBuffer of the file src/main/java/org/HdrHistogram/AbstractHistogram.java. This manipulation of the argument numberOfSignificantValueDigits causes uncontrolled memory allocation. The attack can only be executed locally. The exploit has been published and may be used. The actual existence of this vulnerability is currently in question. This issue is disputed due to the potential lack of crossing of security boundaries and the pre-requisites for a successful attack.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in org.HdrHistogram.AbstractHistogram.decodeFromByteBuffer within AbstractHistogram.java. During deserialization of histogram data, the numberOfSignificantValueDigits parameter is not validated before being used to calculate memory allocation sizes. An attacker who can supply a malicious serialized histogram object can trigger allocation of extremely large memory buffers, leading to denial of service through memory exhaustion. The flaw combines CWE-400 (uncontrolled resource consumption) and CWE-789 (memory allocation with excessive size value). Exploitation requires local code execution context and the ability to influence deserialization input.
Business impact
The practical business risk is low given the local-only attack vector and disputable security boundary crossing. Applications using HdrHistogram are at risk only if they deserialize untrusted or user-supplied histogram data in a shared environment where a low-privileged user could monopolize system memory. In most deployments—where HdrHistogram processes only trusted internal telemetry—the risk is minimal. However, in multi-tenant containerized or sandbox environments where users have shell access, a low-privileged attacker could degrade or crash the application by crafting a malicious histogram payload.
Affected systems
HdrHistogram versions up to and including 2.2.2 are affected. The library is commonly integrated into Java applications for high-performance latency measurement and histogram analysis. No specific vendor products are listed in the disclosure, suggesting this is a direct library vulnerability rather than a pre-bundled flaw. Organizations using HdrHistogram should verify their installed version and assess whether they deserialize histogram data from untrusted sources.
Exploitability
Exploitability is limited by a high barrier to entry. An attacker must have local access to the system and sufficient privileges to execute code within the application's runtime context. The attack cannot be performed remotely or without authentication. A published proof-of-concept exists, lowering the technical skill required, but the prerequisite access level makes opportunistic exploitation unlikely. The security community has raised valid questions about whether this constitutes a genuine cross-boundary vulnerability, since the attacker would already need the privileges and access necessary to perform the exploit.
Remediation
Upgrade HdrHistogram to a patched version beyond 2.2.2 (verify the exact version number against the vendor's release notes). If an immediate upgrade is not feasible, mitigate by restricting code execution privileges, isolating applications that deserialize histogram data, and avoiding deserialization of untrusted histogram payloads. Implement input validation and limits on acceptable values for numberOfSignificantValueDigits if you maintain a wrapper around the library.
Patch guidance
Check the HdrHistogram project repository and release notes for versions after 2.2.2 that address this flaw. Patch deployment should be scheduled in your standard change windows; the low CVSS score and local-only nature of the vulnerability do not warrant emergency patching. Verify compatibility with your application's version of Java and any dependent libraries before deploying updates in production.
Detection guidance
Monitor for unusual memory allocation patterns or out-of-memory errors in applications using HdrHistogram, particularly if they process external or user-supplied histogram data. Review application logs for deserialization errors or warnings from the HdrHistogram library. If available, enable Java heap profiling during testing to identify whether malicious histogram inputs cause memory bloat. Assess data flow: confirm whether histogram data sources are trusted or come from untrusted origins.
Why prioritize this
This vulnerability merits low priority for most organizations. The local-only attack vector, disputed security boundary implications, and low CVSS score (3.3) position it below critical and high-severity issues. Prioritize patching only if you have confirmed that applications deserialize untrusted histogram data or run in multi-tenant environments where users have local shell access. For applications that use HdrHistogram only for internal telemetry from trusted sources, this can be addressed in routine maintenance cycles.
Risk score, explained
The CVSS 3.1 score of 3.3 (LOW) reflects the restrictive attack surface: local-only access is required (AV:L), no elevated privileges bypass is needed (AC:L, PR:L), and the sole impact is denial of service (A:L, C:N, I:N). The score appropriately discounts the fact that exploitation requires the attacker to already have local presence. The disputed nature of whether this crosses a security boundary suggests the true risk may be even lower in most deployment contexts.
Frequently asked questions
Can this vulnerability be exploited remotely or over the network?
No. The vulnerability is strictly local and requires the attacker to already have code execution on the affected system. It cannot be exploited remotely.
Do I need to patch immediately if I use HdrHistogram?
Not necessarily. First, verify that your application deserializes histogram data from untrusted sources. If HdrHistogram only processes internal telemetry from your own systems, the risk is negligible. If you do use untrusted histogram input, plan a patch deployment within your normal maintenance cycle.
Why is the security community disputing this vulnerability?
Because the attack requires the attacker to already have local code execution privileges—meaning the attacker has likely already crossed the primary security boundary. Critics argue that in this scenario, the attacker can cause denial of service in many simpler ways without needing to craft a malicious histogram. The question is whether the vulnerability itself represents a meaningful *additional* risk beyond what the attacker can already do.
Which versions of HdrHistogram are safe?
Versions above 2.2.2 are expected to be patched. Always verify the exact patched version number in the official HdrHistogram release notes before upgrading, as this vulnerability record does not specify the fix version.
This analysis is provided for informational purposes and represents a point-in-time assessment based on available public information as of the publication date. The existence and severity of this vulnerability remain disputed within the security community. Do not rely solely on this summary for security decisions; consult the vendor's official advisory, verify your environment's exposure, and conduct your own risk assessment before prioritizing patches. Security circumstances evolve; regularly review vendor guidance and threat intelligence for updates. Source: NVD (public-domain), retrieved 2026-08-13. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-14683LOWHdrHistogram Memory Allocation Vulnerability – Local DoS Risk
- CVE-2026-47734MEDIUMDulwich Git Server Memory Exhaustion Vulnerability
- CVE-2026-10705LOWDask HyperLogLog Resource Exhaustion Vulnerability
- CVE-2026-11478LOWInefficient Regex Complexity in kokke tiny-regex-c
- CVE-2019-25721MEDIUMDräger Infinity M300 Denial-of-Service Vulnerability – Network-Induced Device Reboots
- CVE-2019-25724MEDIUMDräger Infinity M300 Denial-of-Service Vulnerability Impact on Patient Monitoring
- CVE-2023-54365HIGHTraefik HTTP/2 Denial of Service Vulnerability – Rapid Reset Attack
- CVE-2024-14036HIGHDräger Core Denial of Service via Malformed SDC Messages