CVE-2025-2310
JSON

4.8medium

HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow

Severity
4.8medium CVSS:4.0 by VulDB
Exploit likelihood
0.46% (higher than 31% of CVEs)
Published
Last changed
Assigned by
VulDB

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.

Affected

Product or packageVersionsReported by
HDF51.14.6CVE List
hdfgroup hdf51.14.6NVD

All scores

VulDB4.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
VulDB5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
VulDB5.3medium CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
VulDB4.3medium CVSS:2.0AV:L/AC:L/Au:S/C:P/I:P/A:P
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-119CWE-122CWE-787

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

CVE List (de)

Eine kritische Schwachstelle wurde in HDF5 1.14.6 gefunden. Betroffen davon ist die Funktion H5MM_strndup der Komponente Metadata Attribute Decoder. Mittels Manipulieren mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Umgesetzt werden muss der Angriff lokal. Der Exploit steht zur öffentlichen Verfügung.

NVD (es)

Se encontró una vulnerabilidad en HDF5 1.14.6, clasificada como crítica. Este problema afecta a la función H5MM_strndup del componente Decodificador de Atributos de Metadatos. La manipulación provoca un desbordamiento de búfer en el montón. Es necesario atacar localmente. Se ha hecho público el exploit y puede que sea utilizado. La existencia real de esta vulnerabilidad aún se duda. Se contactó al proveedor con antelación para informarle sobre un conjunto de vulnerabilidades. Su respuesta fue "rechazar" sin más explicaciones. No hemos recibido más detalles, ni siquiera después de solicitar amablemente más detalles. Actualmente, asumimos que el proveedor desea "disputar" las entradas, por lo que están marcadas como tales hasta que se disponga de más información.

References

https://vuldb.com/?id.299723technical-description, third-party-advisory, vdb-entry
https://vuldb.com/?ctiid.299723permissions-required, signature, vdb-entry
https://vuldb.com/?submit.514533third-party-advisory, vdb-entry
https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.mdexploit, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-2310 changed 2025-05-08CVE Terms of Use
NVDCVE-2025-2310 changed 2026-06-17Public domain