CVE Catalog

CVE-2026-120755

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

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 verifying the chunk is at least 4 bytes long, causing the length calculation to wrap around and the decompressor to read past the chunk buffer. An attacker can cause a denial of service if a user or application reads a dataset from a crafted HDF5 file; only builds with szip support are affected.

Risk Assessment

The organization may experience denial of service (application crash or hang) when processing untrusted HDF5 files. The risk applies to analytical and scientific environments handling externally sourced data.

Recommendation

Update HDF5 to a version containing the fix, or disable szip support in the build if not required. Additionally, validate HDF5 files from untrusted sources before processing them.

Other vulnerabilities in HDF5

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS