CVE-2026-19025: CWE-369 Divide by zero in The HDF Group HDF5
A divide-by-zero vulnerability exists in HDF5 through version 2.3.0 due to improper validation of chunk-layout dimensionality against dataspace rank when opening an existing dataset. This can cause a denial of service via application crash when processing a crafted HDF5 file.
AI Analysis
Technical Summary
The vulnerability (CVE-2026-19025) occurs in the H5O__layout_decode function of HDF5 (up to version 2.3.0). It fails to validate that the dimensionality of a chunked dataset's stored chunk layout matches the dataspace rank when opening an existing dataset. This check is only performed at dataset creation, not at open time. An attacker can exploit this by crafting an HDF5 file with mismatched chunk and dataspace ranks, triggering a divide-by-zero error and crashing the application in the H5S__hyper_iter_get_seq_list function during H5Dopen2 and H5Dread calls, such as when using the h5repack tool.
Potential Impact
This vulnerability allows an attacker to cause a denial of service by crashing applications that open and read maliciously crafted HDF5 files. There is no indication of code execution or data corruption beyond the crash. The CVSS 4.0 score is 6.8 (medium severity), reflecting local attack vector with low complexity and no privileges required but user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid opening or processing untrusted HDF5 files, especially with tools like h5repack. Monitor vendor channels for updates and apply official patches once released.
CVE-2026-19025: CWE-369 Divide by zero in The HDF Group HDF5
Description
A divide-by-zero vulnerability exists in HDF5 through version 2.3.0 due to improper validation of chunk-layout dimensionality against dataspace rank when opening an existing dataset. This can cause a denial of service via application crash when processing a crafted HDF5 file.
CVSS v4.0
Score 6.8medium
Affected software
The HDF Group
HDF5
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2026-19025) occurs in the H5O__layout_decode function of HDF5 (up to version 2.3.0). It fails to validate that the dimensionality of a chunked dataset's stored chunk layout matches the dataspace rank when opening an existing dataset. This check is only performed at dataset creation, not at open time. An attacker can exploit this by crafting an HDF5 file with mismatched chunk and dataspace ranks, triggering a divide-by-zero error and crashing the application in the H5S__hyper_iter_get_seq_list function during H5Dopen2 and H5Dread calls, such as when using the h5repack tool.
Potential Impact
This vulnerability allows an attacker to cause a denial of service by crashing applications that open and read maliciously crafted HDF5 files. There is no indication of code execution or data corruption beyond the crash. The CVSS 4.0 score is 6.8 (medium severity), reflecting local attack vector with low complexity and no privileges required but user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid opening or processing untrusted HDF5 files, especially with tools like h5repack. Monitor vendor channels for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- HDFG
- Date Reserved
- 2026-08-05T22:14:38.816Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a73bfadbf8831d53994ed45
Added to database: 08/05/2026, 22:56:45 UTC
Last enriched: 08/13/2026, 17:28:53 UTC
Last updated: 09/17/2026, 22:01:33 UTC
Views: 52
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.