{"id":"CVE-2026-120755","summary":"Integer Underflow Leads to Out-of-Bounds Read via Truncated Chunk in HDF5 Szip Filter","details":"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.","modified":"2026-11-05T02:47:29.779533114Z","published":"2026-11-03T15:27:42.071Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"fixed":"2.3.0"}],"source":"AFFECTED_FIELD"}]}],"cna_assigner":"HDFG","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120755.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120755.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120755"},{"type":"FIX","url":"https://github.com/HDFGroup/hdf5/pull/6585"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hdfgroup/hdf5","events":[{"introduced":"577c192518598c7e2945683655feffcdbdf5a91b"},{"last_affected":"49df1b4e5ca4108d56e80f06321a749da1535268"}],"database_specific":{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"5"},{"last_affected":"2.2.0"}]},{"cpe":"cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"last_affected":"2.2.0"}],"source":"CPE_RANGE"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120755.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}