CVE-2026-19025 Details
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.
A denial-of-service vulnerability has been identified in HDF5 versions through 2.3.0. The issue arises in the 'H5O__layout_decode' function within 'H5Olayout.c', where the library fails to validate that a chunked dataset's layout dimensions align with its dataspace rank when the dataset is opened. This check is only performed during dataset creation. As a result, attackers can craft HDF5 files with mismatched chunk and dataspace ranks, leading to a divide-by-zero error and application crash. The vulnerability can be exploited by using the 'h5repack' tool to read the manipulated dataset, causing an arithmetic exception during the processing of hyperslab selections.
Users can update to HDF5 version 2.3.1 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/HDFGroup/hdf5/issues/6491 | HDFG | |
| https://github.com/HDFGroup/hdf5/issues/6491 | CISA-ADP |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-369 | Divide By Zero | HDFG |
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 6, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | HDFG |