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.
Published: 2026-08-05
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Tue, 06 Oct 2026 20:45:00 +0000

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.

Fri, 14 Aug 2026 00:15:00 +0000

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


Fri, 07 Aug 2026 09:30:00 +0000

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

Thu, 06 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 05 Aug 2026 23:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: HDFG

Published:

Updated: 2026-10-06T20:32:13.006Z

Reserved: 2026-08-05T22:14:40.349Z

Link: CVE-2026-19026

cve-icon Vulnrichment

Updated: 2026-08-06T14:31:52.551Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-05T23:16:53.617

Modified: 2026-10-06T21:17:19.953

Link: CVE-2026-19026

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-05T22:47:58Z

Links: CVE-2026-19026 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T08:30:15Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-476

    NULL Pointer Dereference