Application crash via unchecked message-header pointer
Published Mar 28, 2025 · Updated Jul 24, 2025
Heap buffer overflow in HDF5 1.14.0 through 1.14.6 allows local users to crash an application by processing a crafted HDF5 file. H5O_msg_flush subtracts an eight-byte message-header size from mesg->raw without validating the resulting pointer, then writes one byte beyond the allocated heap buffer. The supplied proof of concept requires local execution and a crafted file; the demonstrated consequence is an AddressSanitizer-detected crash, not code execution.
Summary
What happened
Heap buffer overflow in HDF5 1.14.0 through 1.14.6 allows local users to crash an application by processing a crafted HDF5 file. H5O_msg_flush subtracts an eight-byte message-header size from mesg->raw without validating the resulting pointer, then writes one byte beyond the allocated heap buffer. The supplied proof of concept requires local execution and a crafted file; the demonstrated consequence is an AddressSanitizer-detected crash, not code execution.
The record
- CVE
- CVE-2025-2912
- Published
- Mar 28, 2025
- Updated
- Jul 24, 2025
- Vendor
- The HDF Group
- Product
- HDF5
- Classifications
- CWE-122, CWE-119, CWE-787, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 28, 2025CVE publishedPublication date reported by the CVE source.
- Jul 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.14.0
- Affected versionversion=1.14.1
- Affected versionversion=1.14.2
- Affected versionversion=1.14.3
- Affected versionversion=1.14.4
- Affected versionversion=1.14.5
- Affected versionversion=1.14.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- H5O_msg_flush heap-buffer-overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo