CVE-2025-2310
HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Mar 14, 2025
- Updated
- May 8, 2025
- Reserved
- Mar 14, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
HDF5n/a |
|
References
- VDB-299723 | HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflowvdb-entrytechnical-description
- VDB-299723 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #514533 | HDFGroup hdf5 v1.14.6 Buffer Overflowthird-party-advisory
- https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.mdexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.