CVE-2025-7068 HDF5 H5FL.c H5FL__malloc memory leak

Medium 4.8 Published Updated

A local attacker can trigger a memory leak in the HDF5 library, potentially causing a denial of service.

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-7068?

CVE-2025-7068 is a medium-severity denial of service vulnerability in Hdfgroup Hdf5, published on 4 Jul 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, has been found in HDF5 1.14.6. This issue affects the function H5FL__malloc of the file src/H5FL.c. The manipulation leads to memory leak. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

Weakness: CWE-404, CWE-401

Which versions are affected by CVE-2025-7068?

It affects 1 product.

Products include Hdfgroup Hdf5.

How do I fix CVE-2025-7068?

No fix published yet.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-7068 being exploited?

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

All Hdfgroup Hdf5 vulnerabilities

Sources

Also known as AZL-65160, AZL-65205, DEBIAN-CVE-2025-7068, ECHO-09be-ce9f-912e, GHSA-v8w5-gvph-x6f3, JLSEC-2026-350 and 1 more.

Is CVE-2025-7068 in your software?

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

Check your SBOMs for free