Skip to main content
CVE-2025-2912VulnerabilityPublished Updated

CVE-2025-2912: HDF5 · Heap-based Buffer Overflow

Affects HDF5Source CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubhdfgroup/hdf5pkg:github/hdfgroup/hdf5Other threatsAffected
  • =1.14.0
  • =1.14.1
  • =1.14.2
  • =1.14.3
  • =1.14.4
  • =1.14.5
  • =1.14.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should prioritize patching or upgrading HDF5 to versions beyond 1.14.6 where this vulnerability is resolved. If immediate patching is not feasible, organizations should implement strict access controls to limit local user privileges and restrict access to systems running vulnerable HDF5 versions. Employ application whitelisting and behavior monitoring to detect anomalous activity related to HDF5 processes. Conduct thorough audits of systems to identify installations of vulnerable HDF5 versions, especially on critical infrastructure and research systems. Additionally, segregate systems processing untrusted data and enforce strict user authentication and authorization policies to minimize the risk of local exploitation. Organizations should also educate users about the risks of local exploitation and monitor logs for suspicious activity indicative of heap overflow exploitation attempts. Finally, consider deploying runtime protections such as heap overflow detection mechanisms or memory protection features available in modern operating systems.

Description

A vulnerability was found in HDF5 up to 1.14.6. It has been declared as problematic. Affected by this vulnerability is the function H5O_msg_flush of the file src/H5Omessage.c. The manipulation of the argument oh leads to heap-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…