CVE-2026-106547

HDF5 heap buffer overflow in H5VM_array_fill via crafted fill-value metadata

Published Oct 6, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability lies in the function that initializes the fill-value buffer when read data chunks that are not yet allocated. A crafted HDF5 file can provide metadata that mismatches the allocated buffer size, causing a heap-based overflow. An attacker can control the overwrite through the fill value stored in the file, potentially leading to a crash or execution of arbitrary code.

Affected Systems

Affected systems are installations of the HDF5 library from The HDF Group, versions earlier than 2.2.0. The issue originates in the core H5VM.c component. The vulnerability is present in all builds of HDF5 before the 2.2.0 release.

Risk and Exploitability

The CVSS score of 8.5 indicates a high severity. EPSS scores 0.00163 (< 1%) indicate a low probability of exploitation, which combined with the absence from KEV suggests no known widespread exploitation. Because the flaw only manifests when a malicious HDF5 file is processed, the attack vector is file ingestion. The lack of a public workaround and the potential for remote code execution denote a significant risk for systems that import HDF5 files from untrusted sources.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HDF5 to version 2.2.0 or newer to eliminate the overflow.
  • If an upgrade is not feasible, reject or quarantine HDF5 files from untrusted sources before processing.
  • Implement runtime monitoring to detect abnormal crashes or memory corruption during HDF5 operations.

Generated by OpenCVE AI on October 20, 2026 at 07:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Hdfgroup
Hdfgroup hdf5
Vendors & Products Hdfgroup
Hdfgroup hdf5
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title HDF5 heap buffer overflow in H5VM_array_fill via crafted fill-value metadata
Weaknesses CWE-122
References
Metrics cvssV4_0

{'score': 8.5, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
HDFG
Published
Updated
Oct 7, 2026, 3:11 PM
Reserved
Oct 6, 2026, 7:48 PM
Status
Awaiting Analysis
Published
Oct 6, 2026, 9:17 PM
Modified
Oct 7, 2026, 4:17 PM
Severity
Important
Public date
Oct 6, 2026, 8:14 PM