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.
Published: 2026-08-05
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

H5Z__filter_nbit in H5Znbit.c of HDF5 may dereference the cd_values array without validating that it is non‑null or large enough to contain five elements. This flaw can be triggered by a crafted HDF5 file that uses the N‑Bit filter pipeline message with zero client‑data values. When an untrusted file is read, for example by the h5ls or h5repack utilities, the program will dereference a null or short array, causing a crash and a denial of service. The weakness is a null pointer dereference and an array bounds violation (CWE‑1284, CWE‑476). The impact is limited to a crash of the process that processes the file; 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 not available, so the current exploitation probability cannot be quantified. The vulnerability is not listed in the CISA KEV catalog. Attackers would need to supply a malicious HDF5 file that the target system reads; a typical vector is a data ingestion workflow or local user tricking the system into opening a crafted file. Because the flaw is a trigger in a file‑reading routine, it is exploitable only when the application accepts untrusted files, but a successful exploit will simply crash the HDF5 process leading to denial of service.

Generated by OpenCVE AI on August 6, 2026 at 00:22 UTC.

Remediation

No vendor fix or workaround currently provided.

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 August 6, 2026 at 00:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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-08-06T14:31:59.795Z

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 : Received

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

Modified: 2026-08-06T15:16:45.940

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-08-07T09:15:07Z

Weaknesses
  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-476

    NULL Pointer Dereference