CVE-2025-2310

NameCVE-2025-2310
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1103540

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hdf5 (PTS)bullseye1.10.6+repack-4+deb11u1vulnerable
bookworm1.10.8+repack1-1vulnerable
sid, trixie1.14.5+repack-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hdf5source(unstable)(unfixed)1103540

Notes

[trixie] - hdf5 <postponed> (Minor issue, revisit when fixed upstream)
[bookworm] - hdf5 <postponed> (Minor issue, revisit when fixed upstream)
https://github.com/madao123123/crash_report/blob/main/hdf5_poc/hdf5_poc4.md

Search for package or bug name: Reporting problems