Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted HDF5 file to target system
-
DeliveryVictim opens file via h5ls, h5repack, or H5Dread-based app
-
ExploitN-Bit filter decode invoked on malformed dataset
-
ExecutionNULL/undersized cd_values dereferenced unconditionally
-
ImpactProcess crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that an HDF5 file encodes a dataset compressed with the N-Bit filter (filter ID 305) AND that the filter's pipeline message is crafted to advertise zero client-data values, causing cd_values to be NULL or cd_nelmts to be less than 5 at decode time. Well-formed HDF5 files with valid N-Bit filter headers are not affected. A user or automated process must open the crafted file through a code path that calls H5Dread on the affected dataset - for example, by running h5ls or h5repack against the file, or by loading it in any application that uses the HDF5 library's dataset read API. The CVSS UI:P metric confirms this user interaction requirement. No authentication or elevated privileges are required to supply the file to the target, but the attacker needs a delivery channel (shared filesystem, data repository, email). The impact is strictly limited to crashing the processing application (availability); no code execution, data theft, or integrity modification is possible via this path. |
| Impact | The CVSS 4.0 score of 6.8 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N accurately reflects the threat model: the attack vector is local (a crafted file must be delivered to and opened on the target system), user interaction is required (someone must invoke h5ls, h5repack, or a custom application calling H5Dread), and the entire impact is availability - a process crash with no confidentiality or integrity consequence. There is no CISA KEV listing and no EPSS score was provided in the source data, so exploitation probability cannot be quantified beyond noting that no widespread exploitation is apparent. The fix diff in PR #6497 publicly documents the exact NULL-dereference path, which marginally lowers the effort needed for a proof-of-concept. Real-world risk is meaningful in environments where HDF5 files are ingested from untrusted or semi-trusted external sources (public dataset repositories, collaborative research data shares, ML training pipelines), because a single malformed file can crash any process in the pipeline that lacks sandboxing. The purely DoS-class impact and the UI:P requirement meaningfully limit prioritization compared to unauthenticated remote code execution findings at similar CVSS base scores. |
| Exploit ScenarioDerived | An attacker crafts an HDF5 file containing a dataset whose N-Bit filter pipeline message is configured with zero client-data values (cd_nelmts=0), then delivers it to a target researcher or automated ingestion pipeline via a shared data repository, email attachment, or collaborative filesystem. When the victim opens the file with h5ls or an application invoking H5Dread, H5Z__filter_nbit dereferences the NULL or empty cd_values array at index 0, triggering an immediate process crash. No public exploit code has been identified, but the PR #6497 diff exposes the precise check that was missing, making a minimal proof-of-concept straightforward to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Null pointer dereference in HDF5 through 2.3.0 allows denial of service when a user opens a crafted file containing a malformed N-Bit filter pipeline message with zero client-data values. The function H5Z__filter_nbit unconditionally reads cd_values[0] through cd_values[4] before checking whether the array is non-NULL or contains at least 5 elements, crashing any application - including the bundled h5ls and h5repack tools - that calls H5Dread on such a dataset. No active exploitation has been confirmed (not listed in CISA KEV) and no EPSS score was available, but the fix diff publicly exposes the exact crash path, lowering the barrier for proof-of-concept development.
RemediationAI
An upstream fix is available as GitHub Pull Request #6497 (https://github.com/HDFGroup/hdf5/pull/6497); however, a released and tagged patched version beyond 2.3.0 is not independently confirmed from the available references. Users should monitor The HDF Group's GitHub releases page for a version that incorporates the CHANGELOG entry 'Fixed crashes when reading datasets with malformed N-Bit or Fletcher32 filter metadata' and apply that release when available. As a compensating control until a patched release ships, avoid processing HDF5 files from untrusted sources using h5ls, h5repack, or any application path that invokes H5Dread on N-Bit-filtered datasets. Running such processing in a sandboxed or containerized process (e.g., a restricted Linux namespace or seccomp-filtered container) limits the blast radius of a crash to the isolated process without exposing the host. Input-level rejection of HDF5 files whose filter pipeline metadata declares fewer than 5 client-data parameters is not feasible without library-level instrumentation, making the upstream patch the only authoritative fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HDF5 (Hierarchical Data Format version 5) is a scientific data format and C library maintained by The HDF Group, broadly deployed in HPC, machine learning dataset pipelines, and scientific computing frameworks. The N-Bit filter (pipeline ID 305), implemented in H5Znbit.c, is a compression element that strips redundant bits from fixed-precision integer and floating-point data. Its decode entry point H5Z__filter_nbit expects the cd_values array to hold at least 5 fixed header elements (number of parameters, no-compression flag, element count, datatype class, and datatype size) before any datatype-derived offsets are applied. CWE-476 (NULL Pointer Dereference) is the root cause: the function dereferences cd_values[0..4] unconditionally, without gating on cd_values != NULL or cd_nelmts >= 5. The fix in PR #6497 inserts an explicit rejection guard ('if (cd_values == NULL || cd_nelmts < 5) HGOTO_ERROR(...)') and introduces the H5Z_NBIT_PARMS_AVAIL macro to bound all subsequent parameter-array walks against the supplied element count. A companion fix in H5Zfletcher32.c addresses a related size_t underflow in the Fletcher32 filter, indicating a broader audit of filter input validation was performed.
Know when Hdf5 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Local file delivery required (AV:L), user must open the file (UI:R), no privileges needed, availability-only impact with no scope change.
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Primary rating from Vendor (HDFG).
CVSS VectorVendor: HDFG
DescriptionCVE.org
H5Z__filter_nbit in H5Znbit.c in HDF5 through 2.3.0 dereferences cd_values[0] through cd_values[4] without validating that cd_values is non-NULL or that cd_nelmts is at least 5, the fixed size of the filter's header. This allows attackers to cause a denial of service via a crafted HDF5 file that stores the N-Bit filter pipeline message with zero client-data values, opened and read via H5Dread, e.g. by the h5ls or h5repack tools.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
An issue was discovered in the HDF HDF5 1.8.20 library. Rated critical severity (CVSS 9.8), this vulnerability is remote
In HDF5 1.10.1, there is an out of bounds write vulnerability in the function H5G__ent_decode_vec in H5Gcache.c in libhd
hdf5 v1.14.6 was discovered to contain a heap buffer overflow via the H5VM_memcpyvv function. Rated high severity (CVSS
Same weakness CWE-476 – NULL Pointer Dereference
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Low| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for HPC 12 | Affected |
| SUSE Linux Enterprise Server 12 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP4 | Affected |
| SUSE Linux Enterprise Server 12 SP2 | Affected |
| SUSE Linux Enterprise Server 12 SP3 | Affected |
| SUSE Linux Enterprise Server 12 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Affected |
EUVD-2026-53685
GHSA-fr64-5gr2-c3jj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB