CVE-2026-26197: CWE-125: Out-of-bounds Read in HDFGroup hdf5
CVE-2026-26197 is a medium severity vulnerability in the HDFGroup's hdf5 library involving an out-of-bounds read triggered by corrupted array datatype metadata in HDF5 files. The issue arises when the full size of the datatype, the number of elements, and the element size do not align, which can only occur if a file has been maliciously altered. This vulnerability does not affect normal usage with unaltered files. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
The vulnerability in HDF5 occurs due to inconsistent metadata in array datatypes within HDF5 files. Specifically, if the full size of the datatype (`dt->shared->size`), the number of elements (`dt->shared->u.array.nelem`), and the element size (`dt->shared->parent->shared->size`) do not satisfy the expected relationship (element size multiplied by number of elements equals full size), an out-of-bounds read can be triggered. This condition can only be met if a malicious actor has altered the file to corrupt these values. The vulnerability is identified as CWE-125 (Out-of-bounds Read) and has a CVSS 4.0 base score of 5.9, indicating medium severity. There is no known exploit in the wild and no vendor-provided patch or remediation level at this time.
Potential Impact
An attacker who can supply a maliciously crafted HDF5 file with corrupted array datatype metadata may cause the hdf5 library to perform out-of-bounds reads. This could potentially lead to information disclosure or application crashes depending on how the library is used. However, this vulnerability requires a maliciously altered file and does not affect normal files or usage scenarios. There are no reports of exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability requires maliciously crafted files, users should ensure that untrusted or unverified HDF5 files are not processed by vulnerable versions of the hdf5 library. Monitor vendor channels for updates or patches addressing this issue.
CVE-2026-26197: CWE-125: Out-of-bounds Read in HDFGroup hdf5
Description
CVE-2026-26197 is a medium severity vulnerability in the HDFGroup's hdf5 library involving an out-of-bounds read triggered by corrupted array datatype metadata in HDF5 files. The issue arises when the full size of the datatype, the number of elements, and the element size do not align, which can only occur if a file has been maliciously altered. This vulnerability does not affect normal usage with unaltered files. No official patch or remediation guidance is currently available.
CVSS v4.0
Score 5.9medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in HDF5 occurs due to inconsistent metadata in array datatypes within HDF5 files. Specifically, if the full size of the datatype (`dt->shared->size`), the number of elements (`dt->shared->u.array.nelem`), and the element size (`dt->shared->parent->shared->size`) do not satisfy the expected relationship (element size multiplied by number of elements equals full size), an out-of-bounds read can be triggered. This condition can only be met if a malicious actor has altered the file to corrupt these values. The vulnerability is identified as CWE-125 (Out-of-bounds Read) and has a CVSS 4.0 base score of 5.9, indicating medium severity. There is no known exploit in the wild and no vendor-provided patch or remediation level at this time.
Potential Impact
An attacker who can supply a maliciously crafted HDF5 file with corrupted array datatype metadata may cause the hdf5 library to perform out-of-bounds reads. This could potentially lead to information disclosure or application crashes depending on how the library is used. However, this vulnerability requires a maliciously altered file and does not affect normal files or usage scenarios. There are no reports of exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability requires maliciously crafted files, users should ensure that untrusted or unverified HDF5 files are not processed by vulnerable versions of the hdf5 library. Monitor vendor channels for updates or patches addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-11T19:56:24.813Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5e3e5d2a4a8d5989464d90
Added to database: 07/20/2026, 15:27:25 UTC
Last enriched: 07/31/2026, 21:34:34 UTC
Last updated: 08/27/2026, 10:52:08 UTC
Views: 51
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.