CVE-2026-19029

HDF5 scale-offset filter heap buffer over-read via crafted chunk

Published Oct 6, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
A heap-based buffer over-read in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c in HDF5 through 2.2.0 lets an attacker cause a denial of service (application crash) with a crafted HDF5 file. When the stored minimum bits equal the full precision of the datatype, the decoder copies d_nelmts * size bytes from the compressed chunk without checking that the chunk holds that many bytes. Both values come from attacker-controlled scale-offset filter parameters in the dataset's filter pipeline message.

Analysis

AI-generated

Technical impact

A heap-based buffer over-read occurs in the scale-offset filter routine of the HDF5 library when decoding a compressed chunk. The vulnerability triggers an application crash if the stored minimum bits equal the datatype precision, causing the decoder to copy too many bytes from the chunk without bounds checking. This results in a denial of service by exhausting memory or corrupting critical data structures.

Affected Systems

The weakness affects the HDF Group's HDF5 implementation up to and including version 2.2.0. Any system or application that loads HDF5 files containing the scale‑offset filter can be impacted, regardless of the operating system or hardware platform.

Risk and Exploitability

The CVSS score of 6.8 indicates a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by presenting a maliciously crafted HDF5 file to any application that processes it, so the likely attack vector is local file usage or remote delivery if the file is transmitted over network and then decoded. The lack of mandatory boundary checks means the exploit requires only read access to the target file.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HDF5 to a version newer than 2.2.0 which contains the mitigation for the over‑read bug
  • If an upgrade is not timely, configure your application to reject or ignore the scale‑offset filter before decoding the file
  • Add pre‑processing checks that verify the compressed chunk size matches the declared number of elements multiplied by element size
  • Limit the use of unknown or untrusted HDF5 files to a sandboxed environment where a crash cannot affect the rest of the system

Generated by OpenCVE AI on October 7, 2026 at 00:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Hdfgroup
Hdfgroup hdf5
Vendors & Products Hdfgroup
Hdfgroup hdf5
Type Values Removed Values Added
Description A heap-based buffer over-read in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c in HDF5 through 2.2.0 lets a remote attacker cause a denial of service (application crash) with a crafted HDF5 file. When the stored minimum bits equal the full precision of the datatype, the decoder copies d_nelmts * size bytes from the compressed chunk without checking that the chunk is that large. Both values come from attacker-controlled scale-offset filter parameters in the dataset's filter pipeline message. A heap-based buffer over-read in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c in HDF5 through 2.2.0 lets an attacker cause a denial of service (application crash) with a crafted HDF5 file. When the stored minimum bits equal the full precision of the datatype, the decoder copies d_nelmts * size bytes from the compressed chunk without checking that the chunk holds that many bytes. Both values come from attacker-controlled scale-offset filter parameters in the dataset's filter pipeline message.
Type Values Removed Values Added
Description A heap-based buffer over-read in H5Z__filter_scaleoffset() in src/H5Zscaleoffset.c in HDF5 through 2.2.0 lets a remote attacker cause a denial of service (application crash) with a crafted HDF5 file. When the stored minimum bits equal the full precision of the datatype, the decoder copies d_nelmts * size bytes from the compressed chunk without checking that the chunk is that large. Both values come from attacker-controlled scale-offset filter parameters in the dataset's filter pipeline message.
Title HDF5 scale-offset filter heap buffer over-read via crafted chunk
Weaknesses CWE-125
References
Metrics cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
HDFG
Published
Updated
Oct 7, 2026, 4:05 PM
Reserved
Aug 5, 2026, 10:14 PM
Status
Awaiting Analysis
Published
Oct 6, 2026, 9:17 PM
Modified
Oct 7, 2026, 5:16 PM
Severity
Moderate
Public date
Oct 6, 2026, 8:01 PM