6.8medium
HDF5 divide-by-zero (SIGFPE) via mismatched chunk-layout dimensionality and dataspace rank on dataset open
- Severity
- 6.8medium CVSS:4.0 by HDFG
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The HDF Group HDF5 | <= 2.3.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
H5O__layout_decode en H5Olayout.c en HDF5 hasta 2.3.0 no valida que la dimensionalidad del diseño de fragmentos almacenado de un conjunto de datos fragmentado coincida con su rango de espacio de datos cuando se abre un conjunto de datos existente, mientras que esta verificación se realiza solo en el momento de la creación del conjunto de datos. Esto permite a los atacantes causar una denegación de servicio (división por cero y caída de la aplicación en H5S__hyper_iter_get_seq_list en src/H5Shyper.c) a través de un archivo HDF5 manipulado con rangos de fragmento/espacio de datos no coincidentes que se abre y lee a través de H5Dopen2 y H5Dread, por ejemplo, por la herramienta h5repack.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-19025 changed 2026-08-06 | CVE Terms of Use |
| NVD | CVE-2026-19025 changed 2026-10-23 | Public domain |