CVE-2026-19027
Received Received - Intake

Heap Buffer Overflow in HDF5 N-Bit Filter

Vulnerability report for CVE-2026-19027, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-06

Last updated on: 2026-08-06

Assigner: 0253b833-3e77-4dfe-9d57-17db1a2f0a74

Description

The H5Z__nbit_decompress_one_byte, H5Z__nbit_decompress_one_nooptype, and H5Z__nbit_decompress_one_atomic functions in H5Znbit.c in HDF5 through 2.3.0 advance a read index into the compressed chunk buffer without bounding it against the buffer's actual size. This allows attackers to cause an out-of-bounds heap read, and in constrained cases disclosure of adjacent heap memory into decompressed dataset values, via a crafted HDF5 file whose N-Bit filter parameters describe more decompressed data than the stored compressed chunk actually contains, triggered via H5Dread, e.g. by the h5ls or h5repack tools.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-06
Last Modified
2026-08-06
Generated
2026-08-06
AI Q&A
2026-08-06
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
hdf_group hdf5 2.3.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an out-of-bounds heap read in the HDF5 library's N-Bit filter decompression functions. The functions H5Z__nbit_decompress_one_byte, H5Z__nbit_decompress_one_nooptype, and H5Z__nbit_decompress_one_atomic advance a read index into the compressed chunk buffer without checking against the buffer's actual size. This allows attackers to cause a heap read beyond the buffer's limits using a crafted HDF5 file with N-Bit filter parameters describing more decompressed data than the stored compressed chunk contains.

Detection Guidance

To detect this vulnerability, monitor for crashes when processing HDF5 files with the h5ls or h5repack tools. Use commands like h5ls -d on suspicious files to check for SIGSEGV errors during N-Bit filter decompression.

Impact Analysis

This vulnerability can cause crashes (SIGSEGVs) when processing malformed HDF5 files using tools like h5ls or h5repack. It may lead to disclosure of adjacent heap memory into decompressed dataset values in constrained cases. Attackers can exploit this by providing specially crafted files to trigger unexpected termination of applications using the HDF5 library.

Mitigation Strategies

Update HDF5 to a patched version that includes bounds checking in N-Bit decompression functions. Avoid processing untrusted HDF5 files with h5ls or h5repack until the update is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19027. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart