Skip to main content
CVE-2025-6857VulnerabilityPublished Updated

CVE-2025-6857: HDF5 · Stack-based Buffer Overflow

Affects HDF5Source CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 25 Oct 2026, 19:02 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 29 Jun 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-25.

What to do

Affected software

ProductAffectedFixed in
GitHubhdfgroup/hdf5pkg:github/hdfgroup/hdf5Other threatsAffected
  • =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 first identify all systems running HDF5 version 1.14.6. Since no official patches are currently linked, immediate mitigation steps include restricting local access to trusted users only, implementing strict access controls, and monitoring for unusual local activity on systems using HDF5. Employ application whitelisting and endpoint detection and response (EDR) tools to detect anomalous behavior indicative of exploitation attempts. Organizations should also consider recompiling HDF5 from source with added security hardening flags if feasible, or downgrading to a previous secure version if compatible. Regular backups of critical data processed by HDF5 should be maintained to recover from potential data corruption. Additionally, organizations should stay alert for vendor patches or updates addressing this vulnerability and apply them promptly once available. Conducting internal audits and penetration testing focused on local privilege escalation vectors can help identify exploitation attempts.

Description

A vulnerability has been found in HDF5 1.14.6 and classified as problematic. Affected by this vulnerability is the function H5G__node_cmp3 of the file src/H5Gnode.c. The manipulation leads to stack-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…