CVE-2025-2925 HDF5 H5MM.c H5MM_realloc double free
A double free vulnerability in HDF5 allows local attackers to cause denial of service or potentially execute arbitrary code.
- 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-2925?
CVE-2025-2925 is a medium-severity use after free 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 has been found in HDF5 up to 1.14.6 and classified as problematic. This vulnerability affects the function H5MM_realloc of the file src/H5MM.c. The manipulation of the argument mem leads to double free. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-2925?
It affects 1 product.
Products include Hdfgroup Hdf5.
How do I fix CVE-2025-2925?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-2925 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2925 exists.
Other vulnerabilities in Hdfgroup Hdf5
Sources
Also known as AZL-59343, AZL-59364, DEBIAN-CVE-2025-2925, ECHO-f554-dfa2-2106, GHSA-8j53-82pv-32wq, JLSEC-2026-335 and 2 more.