
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-6269 is a heap-based buffer overflow vulnerability in the HDF5 library affecting the H5C__reconstruct_cache_entry function in H5Cimage.c. It affects HDF5 versions up to and including 1.14.6, developed by The HDF Group. The vulnerability was reported on June 6, 2025, publicly disclosed on June 19, 2025, and a PoC exploit was made available at the time of disclosure. It carries a CVSS v3.1 base score of 5.3 (Medium) and a CVSS v4.0 base score of 1.9 (Low) (Red Hat Advisory, Red Hat Bugzilla, HDF5 GitHub Issue).
The root cause is improper restriction of memory buffer operations (CWE-119, CWE-122 — Heap-based Buffer Overflow) in the H5C__reconstruct_cache_entry function within H5Cimage.c. When HDF5 reconstructs cache entries from image data during file loading, it makes incorrect assumptions about buffer size or data layout, causing out-of-bounds reads at specific offsets (e.g., line 2631: pf_entry_ptr->age = *p++ and line 2695: H5MM_memcpy(pf_entry_ptr->image_ptr, p, pf_entry_ptr->size)). Exploitation requires local access and low privileges; an attacker supplies a crafted HDF5 file that triggers the overflow when the library processes the cache image during dataset open operations. AddressSanitizer confirmed a heap-buffer-overflow read of 1 byte past a 1420-byte allocated region, with the full call stack traced through H5C__load_cache_image → H5C_protect → H5AC_protect → H5O_msg_exists (HDF5 GitHub Issue).
Successful exploitation can result in limited disclosure of memory contents (confidentiality impact), minor data modification (integrity impact), and partial disruption of availability — such as application crashes — on systems processing untrusted HDF5 files. The vulnerability is locally scoped with no impact on adjacent or networked systems, limiting lateral movement potential. However, in environments where HDF5 files are processed from untrusted sources (e.g., scientific computing pipelines, data ingestion workflows), an attacker with local access could leverage the overflow to potentially read sensitive heap data or cause denial of service (Red Hat Advisory, HDF5 GitHub Issue).
A proof-of-concept exploit (reproduce.tar.gz) was publicly disclosed alongside the bug report on June 6, 2025, and is available via the HDF5 GitHub issue tracker. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.013% (0.000130), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (HDF5 GitHub Issue, Red Hat Bugzilla).
H5C__reconstruct_cache_entry. The PoC file from the public disclosure (reproduce.tar.gz) can be used directly.h5_extended_fuzzer) to open the crafted HDF5 file, invoking H5Dopen2 → H5D__open_name → H5O_msg_exists → H5AC_protect → H5C__load_cache_image → H5C__reconstruct_cache_contents → H5C__reconstruct_cache_entry.H5Cimage.c:2631 (pf_entry_ptr->age = *p++) or an oversized H5MM_memcpy at line 2695, reading or writing beyond the allocated heap buffer.heap-buffer-overflow in H5C__reconstruct_cache_entry (H5Cimage.c:2631 or H5Cimage.c:2695).H5C__load_cache_image, H5C_protect, or H5AC_protect..h5 or .hdf5 files in directories processed by HDF5-consuming applications; presence of the known PoC file reproduce.tar.gz on the system.Upgrade HDF5 to a version beyond 1.14.6, as the fix is tracked under the HDF5 2.0.0 milestone per the upstream issue. Red Hat has issued a security response (Bugzilla #2373903) and an errata (RHSA-2025:23731) for affected RHEL packages. As a workaround, restrict local system access using least-privilege principles, avoid processing untrusted HDF5 files, and monitor for unauthorized local access attempts until patching is complete (Red Hat Advisory, Red Hat Bugzilla, HDF5 GitHub Issue).
Red Hat tracked the vulnerability through their security response process and assigned it medium severity in Bugzilla, with downstream package updates issued via RHSA-2025:23731. The HDF5 maintainers acknowledged the issue on GitHub, assigned it to a developer (bmribler), labeled it as a security issue, and targeted the fix for the HDF5 2.0.0 milestone. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified (HDF5 GitHub Issue, Red Hat Bugzilla).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."