Description
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 project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-07-04
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An input‑controlled memory allocation flaw in HdrHistogram's AbstractHistogram.decodeFromByteBuffer allows a local attacker to specify an excessively large numberOfSignificantValueDigits parameter, causing the library to allocate large amounts of memory and potentially exhaust system resources. The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-789 (Out‑of‑Bounds Array Access). The impact is a denial of service, with no direct threat to confidentiality or integrity as the flaw requires local execution and influences only resource usage.

Affected Systems

The affected product is the HdrHistogram library, version 2.2.2 and earlier. The vulnerability is present in the org.HdrHistogram.AbstractHistogram decoding routine across all builds of the library up to the stated version.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity. EPSS is not available, so the public likelihood of exploitation is uncertain, but the flaw has already been publicly disclosed and an exploit is known. The vulnerability is not listed in CISA’s KEV catalog. The attack vector is local, meaning the attacker must be able to execute code that invokes the vulnerable method on the same host. Without local code execution, the flaw cannot be triggered.

Generated by OpenCVE AI on July 5, 2026 at 07:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a HdrHistogram release newer than 2.2.2 where the issue is fixed, if such a release exists.
  • If an upgrade is impossible, add input validation to enforce a safe maximum value for numberOfSignificantValueDigits before calling decodeFromByteBuffer, preventing the allocation of maliciously large buffers.
  • Restrict or sandbox local processes that could invoke the vulnerable method, ensuring only trusted code can call decodeFromByteBuffer.

Generated by OpenCVE AI on July 5, 2026 at 07:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description 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 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-04T23:30:10.875Z

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

Link: CVE-2026-14684

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-05T07:45:03Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-789

    Memory Allocation with Excessive Size Value