CVE-2026-19028
Received Received - Intake

Buffer Underflow in HDF5 Fletcher32 Filter

Vulnerability report for CVE-2026-19028, 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

H5Z__filter_fletcher32 in H5Zfletcher32.c in HDF5 through 2.3.0 computes the data length to checksum by subtracting the 4-byte trailing checksum size from the input buffer size without checking that the buffer is at least 4 bytes, allowing a size_t underflow. This allows attackers to cause a denial of service (massively out-of-bounds read and application crash in H5_checksum_fletcher32) via a crafted HDF5 file with a Fletcher32-filtered chunk smaller than 4 bytes, triggered via H5Dread, e.g. by the h5ls or h5dump 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 to 2.3.0 (inc)

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.
CWE-1284 The product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties.
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a size_t underflow in the HDF5 library's Fletcher32 checksum filter. When processing a malformed HDF5 file with a chunk smaller than 4 bytes, the code subtracts 4 bytes from the input buffer size without checking if the buffer is large enough. This causes an underflow, resulting in an extremely large unsigned integer value that triggers a massive out-of-bounds read and application crash in the checksum function.

Detection Guidance

To detect this vulnerability, monitor for crashes in HDF5 tools like h5dump or h5ls when processing HDF5 files. Use tools like gdb to analyze segmentation faults in these processes. Check for malformed HDF5 files with Fletcher32 filters that may trigger the underflow.

Impact Analysis

This vulnerability can cause denial of service by crashing applications like h5dump or h5ls when processing malicious HDF5 files. It may lead to application termination, data corruption, or potential code execution if exploited further. Users relying on HDF5 tools for data processing are most at risk.

Mitigation Strategies

Update HDF5 to a patched version once available. Avoid processing untrusted HDF5 files with h5dump or h5ls. Implement file validation checks before processing. Monitor for crashes in HDF5 tools as potential indicators of exploitation.

Chat Assistant

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

EPSS Chart