CVEfocus › CVE database › CVE-2025-2310

CVE-2025-2310HDF5 Metadata Attribute Decoder H5MM_strndup heap-based overflow

CVSS 5.3 MediumEPSS 0.5% (higher than 31% of CVEs)Published 2025-03-14Updated 2025-05-08Assigner: VulDB

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.

CWE-119CWE-122

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 26.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 25.10hdf5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-2310
Ubuntu 24.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 22.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 20.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 18.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 16.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Ubuntu 14.04hdf5Fix pendingUBUNTU-CVE-2025-2310
Debian 14hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-2310
Debian 13hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-2310
Debian 12hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-2310

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.