Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Lifecycle Timeline
3DescriptionGitHub Advisory
HDF5 is software for managing data. In 1.14.1-2 and earlier, an attacker who can control an h5 file parsed by HDF5 can trigger a write-based heap buffer overflow condition in the H5T__ref_mem_setnull method. This can lead to a denial-of-service condition, and potentially further issues such as remote code execution depending on the practical exploitability of the heap overflow against modern operating systems.
AnalysisAI
Heap buffer overflow in HDF5 library versions 1.14.1-2 and earlier allows local attackers to trigger a write-based overflow in the H5T__ref_mem_setnull method by crafting malicious HDF5 files, leading to denial-of-service and potential remote code execution depending on heap exploitation complexity. Attack requires local file access and user interaction to parse a malicious file. No public exploit code identified at time of analysis.
Technical ContextAI
HDF5 (Hierarchical Data Format 5) is a widely-used library for managing large and complex datasets. The vulnerability resides in the H5T__ref_mem_setnull method, which handles reference type memory operations during HDF5 file parsing. The root cause is classified as CWE-122 (Heap-based Buffer Overflow), a memory safety flaw where buffer boundary checks are insufficient when writing to heap-allocated memory. An attacker who controls the structure and content of a crafted HDF5 file can supply specially-formatted reference data that exceeds allocated buffer boundaries, corrupting adjacent heap structures. This affects all versions of the HDF5 library (CPE: cpe:2.3:a:hdfgroup:hdf5:*:*:*:*:*:*:*:*) up to and including version 1.14.1-2.
RemediationAI
Upgrade HDF5 to a patched version released after 1.14.1-2 as specified by the HDFGroup security advisory. If immediate upgrade is not feasible, avoid opening HDF5 files from untrusted or external sources, and restrict HDF5 file parsing to trusted data pipelines. Validate HDF5 file integrity before processing when possible. Users of applications embedding HDF5 should check vendor release notes for patched versions and apply updates promptly. Refer to the official advisory at https://github.com/HDFGroup/hdf5/security/advisories/GHSA-qm2m-5g5w-2277 for exact patched version numbers and deployment instructions.
Same weakness CWE-122 – Heap-based Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 12 SP5 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Module for HPC 12 | Fixed |
| SUSE Linux Enterprise Server 12 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Fixed |
| SUSE Linux Enterprise High Performance Computing 12 SP2 | Fixed |
| SUSE Linux Enterprise High Performance Computing 12 SP3 | Fixed |
| SUSE Linux Enterprise High Performance Computing 12 SP4 | Fixed |
| SUSE Linux Enterprise Server 12 SP2 | Fixed |
| SUSE Linux Enterprise Server 12 SP3 | Fixed |
| SUSE Linux Enterprise Server 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-21406