Description
A vulnerability was detected in HdrHistogram up to 2.2.2. Affected by this issue is the function org.HdrHistogram.AbstractHistogram.decodeFromCompressedByteBuffer of the file src/main/java/org/HdrHistogram/AbstractHistogram.java. The manipulation of the argument lengthOfCompressedContents results in uncontrolled memory allocation. The attack needs to be approached locally. The exploit is now public and may be used. It is still unclear if this vulnerability genuinely exists. This issue is disputed due to the potential lack of crossing of security boundaries and the pre-requisites for a successful attack.
Published: 2026-07-04
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw exists in the HdrHistogram Java library in the method org.HdrHistogram.AbstractHistogram.decodeFromCompressedByteBuffer. The method allocates memory based on the lengthOfCompressedContents parameter without performing any bounds checking. If an attacker supplies a the library will attempt to allocate a proportion available memory and causing an out‑of‑memory error. This weakness maps to CWE‑400 (Uncontrolled Resource Consumption), CWE‑770 (Improper Restriction of Operations within the Bounds of a Memory (Out‑of‑Memory Condition). The impact is a denial‑of‑service scenario, where the hosting application may crash or become unresponsive but no code execution or privilege escalation is possible.

Affected Systems

The vulnerability affects the HdrHistogram Java library for all versions up to and including 2.2.2. Any application that uses this library and invokes the decodeFromCompressedByteBuffer method is impacted, regardless of the vendor since it is an open‑source component.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity, and the EPSS score of less than 1 % indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires local access to an application that performs the decompression and the ability to provide a malicious compressed histogram payload. Because the flaw does not grant code execution, the primary risk is application instability or denial of service through heap exhaustion.

Generated by OpenCVE AI on July 17, 2026 at 09:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Validate the lengthOfCompressedContents argument before calling decodeFromCompressedByteBuffer, enforcing a hard upper bound that reflects the maximum expected histogram size.
  • Implement defensive checks or a guard that rejects or limits allocation requests exceeding a configured memory threshold, thereby preventing uncontrolled memory growth.
  • Upgrade HdrHistogram to a version released after 2.2.2 once a patch is available; monitor the project’s GitHub issue tracker for any community workarounds and evaluate them against the required validation criteria.
  • If an upgrade cannot be performed immediately, isolate the use of the library in a sandboxed process or container that enforces strict memory limits (e.g., Linux cgroups or Docker memory constraints).

Generated by OpenCVE AI on July 17, 2026 at 09:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in HdrHistogram up to 2.2.2. Affected by this issue is the function org.HdrHistogram.AbstractHistogram.decodeFromCompressedByteBuffer of the file src/main/java/org/HdrHistogram/AbstractHistogram.java. The manipulation of the argument lengthOfCompressedContents results in uncontrolled memory allocation. The attack needs to be approached locally. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet. A vulnerability was detected in HdrHistogram up to 2.2.2. Affected by this issue is the function org.HdrHistogram.AbstractHistogram.decodeFromCompressedByteBuffer of the file src/main/java/org/HdrHistogram/AbstractHistogram.java. The manipulation of the argument lengthOfCompressedContents results in uncontrolled memory allocation. The attack needs to be approached locally. The exploit is now public and may be used. It is still unclear if this vulnerability genuinely exists. This issue is disputed due to the potential lack of crossing of security boundaries and the pre-requisites for a successful attack.

Mon, 13 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

threat_severity

Low


Tue, 07 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 04 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in HdrHistogram up to 2.2.2. Affected by this issue is the function org.HdrHistogram.AbstractHistogram.decodeFromCompressedByteBuffer of the file src/main/java/org/HdrHistogram/AbstractHistogram.java. The manipulation of the argument lengthOfCompressedContents results in uncontrolled memory allocation. The attack needs to be approached locally. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title HdrHistogram AbstractHistogram.java memory allocation
First Time appeared Hdrhistogram
Hdrhistogram hdrhistogram
Weaknesses CWE-400
CWE-789
CPEs cpe:2.3:a:hdrhistogram:hdrhistogram:*:*:*:*:*:*:*:*
Vendors & Products Hdrhistogram
Hdrhistogram hdrhistogram
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Hdrhistogram Hdrhistogram
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-16T07:18:18.631Z

Reserved: 2026-07-04T04:39:55.742Z

Link: CVE-2026-14683

cve-icon Vulnrichment

Updated: 2026-07-07T02:37:50.872Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-04T23:00:10Z

Links: CVE-2026-14683 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-17T09:30:04Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value