Description
H5O__layout_decode in H5Olayout.c in HDF5 through 2.3.0 does not validate that a chunked dataset's stored chunk-layout dimensionality matches its dataspace rank when an existing dataset is opened, whereas this check is performed only at dataset-creation time. This allows attackers to cause a denial of service (divide-by-zero and application crash in H5S__hyper_iter_get_seq_list in src/H5Shyper.c) via a crafted HDF5 file with mismatched chunk/dataspace ranks that is opened and read via H5Dopen2 and H5Dread, e.g. by the h5repack tool.
Published: 2026-08-05
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a divide‑by‑zero error triggered when a chunked dataset in an HDF5 file is opened and read but the stored chunk-layout dimensionality does not match the dataspace rank. This mismatch causes a SIGFPE in the library’s hyper‑iteration code, resulting in an application crash that manifests as a denial‑of‑service condition. The weakness is classified as CWE‑369, a division‑by‑zero flaw.

Affected Systems

The vulnerability affects the HDF Group’s HDF5 library through version 2.3.0, including all products that rely on these library releases for opening or reading HDF5 datasets.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity, but the lack of an EPSS score and absence from the KEV catalog suggest limited or no recorded exploit activity. The likely attack vector involves an application that opens a maliciously crafted HDF5 file, such as the h5repack utility; the exploit requires local file access or the ability to trick a legitimate application into reading the file.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade HDF5 to version 2.3.1 or later, which validates chunk‑layout dimensionality at open time.
  • Where an immediate library upgrade is not possible, restrict untrusted users or processes from invoking H5Dopen2/H5Dread on external HDF5 files, using file permissions or sandboxing.
  • Continuously monitor applications for SIGFPE crashes during H5Dopen/H5Dread calls and investigate promptly.
  • Update or reconfigure tools such as h5repack to run with least privilege and only process trusted files.

Generated by OpenCVE AI on August 6, 2026 at 00:23 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.0, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/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 H5O__layout_decode in H5Olayout.c in HDF5 through 2.3.0 does not validate that a chunked dataset's stored chunk-layout dimensionality matches its dataspace rank when an existing dataset is opened, whereas this check is performed only at dataset-creation time. This allows attackers to cause a denial of service (divide-by-zero and application crash in H5S__hyper_iter_get_seq_list in src/H5Shyper.c) via a crafted HDF5 file with mismatched chunk/dataspace ranks that is opened and read via H5Dopen2 and H5Dread, e.g. by the h5repack tool.
Title HDF5 divide-by-zero (SIGFPE) via mismatched chunk-layout dimensionality and dataspace rank on dataset open
Weaknesses CWE-369
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:34:46.492Z

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

Link: CVE-2026-19025

cve-icon Vulnrichment

Updated: 2026-08-06T14:34:36.634Z

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-19025

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-05T22:35:11Z

Links: CVE-2026-19025 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T09:15:07Z

Weaknesses