CVE-2026-34734

7.8

The HDF Group · HDF5

A heap use-after-free vulnerability exists in the HDF5 h5dump utility, allowing an attacker to trigger memory corruption via a malicious HDF5 file.

Executive summary

A heap use-after-free vulnerability in the HDF5 h5dump utility, affecting versions 1.14.1-2 and earlier, poses a significant risk of arbitrary code execution or system crash.

Vulnerability

This is a memory corruption vulnerability classified as a use-after-free (CWE-416). It occurs within the h5dump helper utility when processing a specially crafted file, where a memmove operation references memory that has already been freed.

Business impact

The vulnerability carries a CVSS score of 7.8, indicating a high severity risk. Successful exploitation could allow an attacker to achieve arbitrary code execution or cause an application crash, potentially leading to data loss or the compromise of sensitive information processed by the HDF5 library.

Remediation

Immediate Action: Update HDF5 to a version beyond 1.14.1-2 or apply the upstream fix associated with commit ac07382ca947de2b936204dc9d60ce9ac245a21f.

Proactive Monitoring: Monitor systems for unexpected crashes or abnormal memory usage patterns in applications utilizing the h5dump utility.

Compensating Controls: Restrict the processing of untrusted or externally sourced HDF5 files to isolated or sandboxed environments to limit the impact of potential memory corruption.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the potential for code execution and the existence of a proof-of-concept, this vulnerability should be prioritized for remediation. Organizations should identify all deployments of the HDF5 library and apply the vendor-supplied security updates as soon as they become available to eliminate the risk of exploitation.

More The HDF Group CVEs

Sources