CVE-2026-106547
HDF5 heap buffer overflow in H5VM_array_fill via crafted fill-value metadata
- State
- Published
- Severity
- 8.5 High
- Published
- Oct 6, 2026
- Updated
- Oct 7, 2026
- Reserved
- Oct 6, 2026
Description
A heap-based buffer overflow in H5VM_array_fill() in src/H5VM.c in HDF5 before 2.2.0 lets a remote attacker cause an application crash and possibly execute arbitrary code with a crafted HDF5 file. When a dataset's unallocated chunks are read, H5D__fill_init() fills the fill-value buffer from datatype and dataspace metadata in the file. If that metadata is inconsistent with the buffer's allocated size, the write goes past the end of the buffer. The attacker can control the content written through the fill value stored in the file.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.5 High | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | HDFG |
Weaknesses
- CWE-122 Heap-based buffer overflow
Affected Products
| Product | Versions |
|---|---|
HDF5The HDF Group |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.