CVE-2026-120756
published low CVSS 4.0 · 1.9Heap Buffer Over-read via Malformed Message Size in HDF5's H5O__chunk_deserialize
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The HDF Group | — | HDF5< 2.3.0 · Other versions: unaffected | Affected | Not stated | HDFG |
Description
HDF5 through 2.2.0 contains a heap buffer over-read vulnerability in H5O__chunk_deserialize() in src/H5Ocache.c. When decoding object header messages, the declared message size is checked against the end of the chunk image before the remainder of the message header (flags, and for version 2 object headers, the optional creation index) has been decoded. Because the message body begins after these fields, a message can start up to four bytes further into the chunk than the size check accounts for. A crafted HDF5 file can declare a message size that passes the check but extends past the end of the chunk image, causing the message’s decode callback, for example H5O__mtime_new_decode() in src/H5Omtime.c, to read beyond the heap allocation. The flaw is reachable during H5Fopen() on a crafted file. An attacker who can get a user or application to open a malicious file can cause a denial of service or limited disclosure of process memory.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 1.9 / 10
- Severity
- low
- Provider
- HDFG · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The HDF Group | HDF5 | < 2.3.0 (affected)Default: unaffected | HDFG · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds read
References
2Provider assertions
2HDFG · cna
Heap Buffer Over-read via Malformed Message Size in HDF5's H5O__chunk_deserialize
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d7a7573854941dfa1f37744c98202cab561ef4d239d1dd5b591bd808069fecee
- Ingested
- 03 Nov 2026, 18:00:39 UTC
- Source record
- Official CVE record