CVE-2025-2310 Details
Description
A vulnerability was found in HDF5 1.14.6 and classified as critical. This issue affects the function H5MM_strndup of the component Metadata Attribute Decoder. The manipulation leads to heap-based buffer overflow. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The vendor plans to fix this issue in an upcoming release.
A critical heap-based buffer overflow vulnerability has been identified in HDF5 version 1.14.6. The issue arises in the Metadata Attribute Decoder component, specifically within the H5MM_strndup function. This vulnerability allows for memory corruption and application crashes, and could potentially be exploited for arbitrary code execution. The buffer overflow occurs when the library reads 5 bytes beyond the boundary of a 320-byte heap-allocated memory region. Exploitation of this vulnerability requires local access.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.299723 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.299723 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.514533 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hdfgroup hdf5 | 1.14.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2025 | Initial Analysis | [email protected] |
| May 8, 2025 | CVE Modified | [email protected] |
| Mar 14, 2025 | New CVE Received | [email protected] |