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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"hdfgroup:hdf5": [
"<= 2.2.0"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120755",
"id": "CVE-2026-120755",
"imported": "2026-11-26T05:07:05.934Z",
"modified": "2026-11-03T21:10:08.367Z",
"published": "2026-11-03T16:17:22.790Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-120755"
}
]
}