# CVE-2026-19025: HDF5 divide-by-zero (SIGFPE) via mismatched chunk-layout dimensionality and dataspace rank on dataset open

- Severity: Medium 6.8 (CVSS:4.0, scored by HDFG) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-05T22:35:11.510Z
- Modified: 2026-10-23T21:10:00.157Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: HDFG

## 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.

(As written by CVE List.)

## Affected

- The HDF Group HDF5: <= 2.3.0

## References

- <https://github.com/HDFGroup/hdf5/issues/6491> (exploit)

## Sources

- CVE List: [CVE-2026-19025](https://www.cve.org/CVERecord?id=CVE-2026-19025), CVE Terms of Use, modified 2026-08-06
- NVD: [CVE-2026-19025](https://nvd.nist.gov/vuln/detail/CVE-2026-19025), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-19025 · Whole record: https://cve.day/CVE-2026-19025.json · Rebuilt by cve.day 2026-11-25T22:59:31.196Z
