4.7medium
Integer Underflow Leads to Out-of-Bounds Read via Truncated Chunk in HDF5 Szip Filter
- Severity
- 4.7medium CVSS:4.0 by HDFG
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- HDFG
Description
HDF5 through 2.2.0 contains an out-of-bounds read vulnerability in H5Z__filter_szip() in src/H5Zszip.c. When decoding a szip-compressed chunk, the function subtracts the 4-byte uncompressed-length header from the chunk length without first verifying that the chunk is at least 4 bytes long. A truncated or corrupted chunk shorter than the header causes the length calculation to wrap around to a very large value, and the decompressor reads far past the end of the chunk buffer. An attacker who can get a user or application to read a dataset from a crafted HDF5 file can cause a denial of service. Only builds with szip support (libaec or the szip library) are affected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The HDF Group Szip Filter | < 2.3.0 | CVE List |
| hdfgroup hdf5 | up to 2.2.0 | NVD |
All scores
| HDFG | 4.7medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/HDFGroup/hdf5/pull/6585 | issue-tracking, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120755 changed 2026-11-03 | CVE Terms of Use |
| NVD | CVE-2026-120755 changed 2026-11-03 | Public domain |