6.8medium
HDF5 integer underflow in Fletcher32 filter leads to massive out-of-bounds read
- Severity
- 6.8medium CVSS:4.0 by HDFG
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- HDFG
Description
H5Z__filter_fletcher32 in H5Zfletcher32.c in HDF5 prior to 2.3.0 computes the data length to checksum by subtracting the 4-byte trailing checksum size from the input buffer size without checking that the buffer is at least 4 bytes, allowing a size_t underflow. This allows attackers to cause a denial of service (massively out-of-bounds read and application crash in H5_checksum_fletcher32) via a crafted HDF5 file with a Fletcher32-filtered chunk smaller than 4 bytes, triggered via H5Dread, e.g. by the h5ls or h5dump tools.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| The HDF Group HDF5 | <=2.3.0 | CVE List |
Classification
What each source says
CVE List
H5Z__filter_fletcher32 in H5Zfletcher32.c in HDF5 prior to 2.3.0 computes the data length to checksum by subtracting the 4-byte trailing checksum size from the input buffer size without checking that the buffer is at least 4 bytes, allowing a size_t underflow. This allows attackers to cause a denial of service (massively out-of-bounds read and application crash in H5_checksum_fletcher32) via a crafted HDF5 file with a Fletcher32-filtered chunk smaller than 4 bytes, triggered via H5Dread, e.g. by the h5ls or h5dump tools.
NVD (es)
H5Z__filter_fletcher32 en H5Zfletcher32.c en HDF5 versiones anteriores a 2.3.0 calcula la longitud de los datos para el checksum restando el tamaño del checksum final de 4 bytes del tamaño del búfer de entrada sin comprobar que el búfer tenga al menos 4 bytes, lo que permite un desbordamiento negativo (underflow) de tipo size_t. Esto permite a los atacantes causar una denegación de servicio (lectura masiva fuera de límites y caída de la aplicación en H5_checksum_fletcher32) mediante un archivo HDF5 manipulado con un fragmento (chunk) filtrado con Fletcher32 de menos de 4 bytes, activado a través de H5Dread, por ejemplo, mediante las herramientas h5ls o h5dump.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-19028 changed 2026-10-06 | CVE Terms of Use |
| NVD | CVE-2026-19028 changed 2026-10-23 | Public domain |