CVE-2026-19026

Nbit filter NULL/short parameter-array dereference

Published Aug 5, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
H5Z__filter_nbit in H5Znbit.c in HDF5 prior to 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.

Analysis

AI-generated

Technical impact

In HDF5 versions before 2.3.0 the function H5Z__filter_nbit in H5Znbit.c dereferences the client‑data array cd_values[0] through cd_values[4] without validating that cd_values is non‑NULL or that cd_nelmts is at least five, the fixed size of the filter header. An attacker can exploit this by crafting an HDF5 file that contains an N‑Bit filter pipeline message whose header has zero client‑data values and then opening that file with H5Dread, for example via the tools h5ls or h5repack. The program will dereference a null or short array, causing an out‑of‑bounds read and a crash. The weakness is a null pointer dereference and an array bounds violation (CWE‑1284, CWE‑476). The impact is limited to a denial of service through a process crash; no information disclosure or code execution is possible.

Affected Systems

The HDF Group’s HDF5 library, versions through 2.3.0, is affected. Any installation that uses HDF5 to read or process external HDF5 files, including the command‑line tools h5ls and h5repack, is potentially vulnerable.

Risk and Exploitability

The CVSS score of 6.8 indicates medium severity. The EPSS score is <1%, so the current exploitation probability is very low but not zero. The vulnerability is not listed in CISA KEV. Attackers would need to supply a malicious HDF5 file that the target system reads; common vectors include data ingestion workflows or local users tricking the system into opening a crafted file. Because the flaw is triggered by a file‑reading routine, exploitation requires that the application accept untrusted files; a successful exploit will simply crash the HDF5 process, resulting in denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to HDF5 2.3.1 or later, which contains the null‑check fix for the N‑Bit filter header.
  • If an upgrade is not immediately possible, isolate the file parsing process in a sandbox or use a minimal set of trusted HDF5 files to prevent elevation to an untrusted environment.
  • Validate input files before handing them to HDF5 utilities, ensuring the N‑Bit filter header contains at least five client‑data values, or use external tools to scrub or reject malformed files.

Generated by OpenCVE AI on October 7, 2026 at 08:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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. H5Z__filter_nbit in H5Znbit.c in HDF5 prior to 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.
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Hdfgroup
Hdfgroup hdf5
Vendors & Products Hdfgroup
Hdfgroup hdf5
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Nbit filter NULL/short parameter-array dereference
Weaknesses CWE-1284
CWE-476
References
Metrics cvssV4_0

{'score': 6.8, 'vector': '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'}

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
HDFG
Published
Updated
Oct 6, 2026, 8:32 PM
Reserved
Aug 5, 2026, 10:14 PM
Status
Awaiting Analysis
Published
Aug 5, 2026, 11:16 PM
Modified
Oct 23, 2026, 9:10 PM
Severity
Moderate
Public date
Aug 5, 2026, 10:47 PM