{"id":"CVE-2025-2310","state":"PUBLISHED","title":"HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow","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.","publishedAt":"2025-03-14T21:00:09.852Z","updatedAt":"2025-05-08T08:59:00.157Z","severity":{"score":4.8,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["n/a HDF5"],"affected":[{"vendor":"n/a","product":"HDF5","versions":[{"version":"1.14.6","status":"affected"}],"modules":["Metadata Attribute Decoder"]}],"references":["https://vuldb.com/?id.299723","https://vuldb.com/?ctiid.299723","https://vuldb.com/?submit.514533","https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md"],"weaknesses":["CWE-122","CWE-119"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/2xxx/CVE-2025-2310.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-2310","state":"PUBLISHED","datePublished":"2025-03-14T21:00:09.852Z","dateUpdated":"2025-05-08T08:59:00.157Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-03-14T12:55:04.703Z"},"containers":{"cna":{"title":"HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"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."}],"affected":[{"vendor":"n/a","product":"HDF5","versions":[{"version":"1.14.6","status":"affected"}],"modules":["Metadata Attribute Decoder"]}],"references":[{"url":"https://vuldb.com/?id.299723","name":"VDB-299723 | HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.299723","name":"VDB-299723 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.514533","name":"Submit #514533 | HDFGroup hdf5 v1.14.6 Buffer Overflow","tags":["third-party-advisory"]},{"url":"https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md","tags":["exploit"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":4.8,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":5.3,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":5.3,"vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":4.3,"vectorString":"AV:L/AC:L/Au:S/C:P/I:P/A:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","type":"CWE","lang":"en","description":"Heap-based Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2025-05-08T08:59:00.157Z"},"timeline":[{"time":"2025-03-14T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-03-14T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2025-05-08T11:03:47.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"NPU Unmanned Systems Safety Laboratory (VulDB User)","type":"reporter"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-17T16:06:31.208611Z","id":"CVE-2025-2310","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-18T16:20:19.740Z"}}]}}}