CVE-2026-19025
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.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.8
- CVSS 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
- EPSS probability
- 0.12%
- CWE
- CWE-369
- Published
- 2026-08-05
- Last modified
- 2026-08-06
Affected products
- The HDF Group HDF5
Weakness type
Related vulnerabilities
- CVE-2026-6244 — division by zero in libpcap before 1.10.7
- CVE-2026-85458 — Divide-by-zero in Xpdf 4.06 due to zero-height Type 3 glyph
- CVE-2026-16897 — Vulnerabilities in IBM AIX and PowerVM VIOS
- CVE-2026-63117 — FreeRDP: Denial of service through ADPCM frame size calculation
- CVE-2026-64951 — Velociraptor DoS triggered by Divide by Zero panic
- CVE-2026-17535 — Velociraptor Multiple Crashes in NTFS Parser when applied to invalid NTFS Volumes
- CVE-2026-67302 — FreeRDP rdpecam StartStreamsRequest divide-by-zero denial of service
- CVE-2026-53503 — Thumbor convolution filter allows divide-by-zero in C extension leading to remote DoS