Description
NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.1.1 allows attackers to cause a denial of service via a dataset whose version 1 or 2 fill value message has the "defined" flag set together with a negative size field, which is not normalized to the library's "undefined" sentinel and reaches H5T_path_find with a NULL datatype.
Published: 2026-08-05
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A NULL pointer dereference in the H5Pget_fill_value routine of the HDF5 library allows an attacker to crash the application that loads an HDF5 file. The vulnerability is triggered when a dataset contains a malformed fill value message where the "defined" flag is set but the size field is negative. The library fails to normalize this value to its sentinel for undefined data, causing a dereference of a NULL datatype during path resolution. The immediate impact is a denial of service, potentially leading to loss of application availability for any process that attempts to open such a file.

Affected Systems

The vulnerability affects installations of the HDF Group HDF5 library prior to version 2.1.1. Any system, service, or application that uses an older HDF5 binary and processes user‑supplied or untrusted HDF5 files is at risk. This includes scientific computing environments, data ingestion pipelines, and any software that parses HDF5 datasets from external sources.

Risk and Exploitability

The CVSS score of 8.2 classifies this flaw as high severity. While the EPSS score is not available, the absence of a listing in the CISA KEV catalog suggests no widespread exploitation has been reported yet. However, the attack vector is likely local or remote through a crafted HDF5 file that an application must load. An attacker can trigger the crash simply by ensuring that the problematic fill value message is parsed, which does not require elevated privileges if the application reads the file. Consequently, the risk remains significant for any system that processes external HDF5 data.

Generated by OpenCVE AI on August 5, 2026 at 23:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the HDF5 library to version 2.1.1 or later to remove the NULL pointer bug.
  • If an upgrade is not immediately possible, restrict file upload or import operations to trusted users and validate the file before processing with a hardened version of the library.
  • Implement application‑level error handling to catch and log crashes originating from HDF5 operations, and consider isolating HDF5 loading in a separate, monitored process to contain impacts.

Generated by OpenCVE AI on August 5, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Description NULL pointer dereference in H5Pget_fill_value in HDF5 before 2.1.1 allows attackers to cause a denial of service via a dataset whose version 1 or 2 fill value message has the "defined" flag set together with a negative size field, which is not normalized to the library's "undefined" sentinel and reaches H5T_path_find with a NULL datatype.
Title HDF5 H5Pget_fill_value NULL Pointer Dereference via Malformed Fill Value Message
Weaknesses CWE-476
References
Metrics cvssV4_0

{'score': 8.2, '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:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: HDFG

Published:

Updated: 2026-08-05T22:14:29.792Z

Reserved: 2026-08-05T22:12:47.262Z

Link: CVE-2026-19024

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T23:30:04Z

Weaknesses