← News

Hdf5: denial of service via crafted file

HighAI-generated2026-11-04

CVE
CVE-2026-120757
Severity
High (CVSS 7.1)
Attack conditions
With local access to the device · No account needed · A user must take some action
Exploitation probability (EPSS)
0.1% (within 30 days; FIRST EPSS, 10 November 2026)

Summary

The HDF5 library up to version 2.2.0 has a heap buffer over-read flaw that can be triggered by a specially crafted file, allowing an attacker to cause a denial of service.

Who is affected

Vendor
hdfgroup
Product
hdf5

Details

According to the NVD record, HDF5 versions through 2.2.0 contain a heap buffer over-read vulnerability in the function that processes external links. The code uses strlen() on data without checking the actual buffer size, which can let a malicious file cause the library to read beyond the allocated memory.

An attacker who convinces a user or an application to open a crafted HDF5 file with a malformed external link can cause the program to crash, resulting in a denial of service. The over-read may also expose adjacent heap data, which could be incorporated into the file name or object path the library attempts to open.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 3 November 2026 NVD record published
  • 4 November 2026 This article was written