CVE-2025-6269 HDF5 H5Cimage.c H5C__reconstruct_cache_entry 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 files.

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

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

Official description

A vulnerability classified as critical was found in HDF5 up to 1.14.6. Affected by this vulnerability is the function H5C__reconstruct_cache_entry of the file H5Cimage.c. 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.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2025-6269?

It affects 1 product.

Products include Hdfgroup Hdf5.

How do I fix CVE-2025-6269?

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-6269 being exploited?

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

All Hdfgroup Hdf5 vulnerabilities

Sources

Also known as AZL-64278, AZL-64286, DEBIAN-CVE-2025-6269, ECHO-72d9-89fa-a326, GHSA-hp87-2chw-7hmc, JLSEC-2026-339 and 1 more.

Is CVE-2025-6269 in your software?

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

Check your SBOMs for free