CVE-2025-2924 HDF5 H5HLcache.c H5HL__fl_deserialize heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in HDF5 allows local attackers to execute arbitrary code or cause denial of service via crafted data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-2924?

CVE-2025-2924 is a medium-severity memory corruption vulnerability in Hdfgroup Hdf5, published on 28 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability, which was classified as problematic, was found in HDF5 up to 1.14.6. This affects the function H5HL__fl_deserialize of the file src/H5HLcache.c. The manipulation of the argument free_block leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.

Weakness: CWE-122, CWE-787, CWE-119

Which versions are affected by CVE-2025-2924?

It affects 1 product.

Products include Hdfgroup Hdf5.

How do I fix CVE-2025-2924?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-2924 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2924 exists.

All Hdfgroup Hdf5 vulnerabilities

Sources

Also known as AZL-59355, AZL-59383, DEBIAN-CVE-2025-2924, ECHO-d2c9-9139-a6fc, GHSA-fqw7-q4hr-f893, JLSEC-2026-334 and 2 more.

Is CVE-2025-2924 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free