cvelo
P3 · MediumCVSS 4.7EPSS 0.1%

Integer Underflow Leads to Out-of-Bounds Read via Truncated Chunk in HDF5 Szip Filter

  • CVE-2026-120755
  • GHSA-63qm-xvf9-v4m8
  • EUVD-2026-115916

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • hdfgroup hdf5

    Affected versionsFixed in
    up to 2.2.0none stated

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.