# JLSEC-2026-1561: HDF5 through 2.2.0 contains a heap buffer over-read vulnerability in H5Ochunkdeserialize() in src/H5Ocache.c.

- Severity: Medium 6.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-11-30T14:53:06.209Z
- Modified: 2026-11-30T15:00:02.562Z
- Related: CVE-2026-120756

## 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.

(As written by Julia Security Advisories.)

## Affected

- HDF5_jll (Julia): before 2.3.0+0

## Every score

- Julia Security Advisories: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/HDFGroup/hdf5/issues/6401> (web)
- <https://github.com/HDFGroup/hdf5/pull/6589> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-1561](https://osv.dev/vulnerability/JLSEC-2026-1561), CC-BY-4.0, modified 2026-11-30

---

Page: https://cve.day/JLSEC-2026-1561 · Whole record: https://cve.day/JLSEC-2026-1561.json · Rebuilt by cve.day 2026-11-30T15:07:24.795Z
