---
id: CVE-2026-106547
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 8.5
cvssVector: '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'
cwe:
  - CWE-122
  - CWE-787
vendor: The HDF Group
product: HDF5
affected:
  - HDF5 >= 1.10.0 < 2.2.0
published: '2026-10-06'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T16:17:40.033'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106547'
references:
  - url: 'https://github.com/HDFGroup/hdf5/pull/6529'
    label: 0253b833-3e77-4dfe-9d57-17db1a2f0a74
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-106547.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-106547'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2547141'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-106547'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106547'
  - url: 'https://access.redhat.com/errata/RHSA-2026:73539'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-07T15:10:00.506526Z'
cvssSource: cna
ingestedAt: '2026-10-06T21:20:28.986Z'
epss: 0.00163
epssPercentile: 0.05399
patched:
  - hardened_images
scores:
  cna: 8.5
  vendor: 7.8
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:73539** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-29 · [advisory](https://access.redhat.com/errata/RHSA-2026:73539)
