Description
HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If `H5Iget_name` is invoked on a group id with `0` for the size parameter, it will underflow when trying to place a null terminator in the buffer. This can occur if `H5Iget_name` is invoked in a way where `size` can be forced to zero, and there is important data before the `name` buffer.
Published: 2026-07-20
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a buffer underflow that occurs when H5Iget_name is called with a size value of zero. The function writes a null terminator into the buffer without verifying its length, and the underflow can overwrite adjacent memory. This can happen during the execution of H5G_get_name, which in turn invokes H5Iget_name on a group ID. Based on the description, it is inferred that the vulnerability can be triggered when the size parameter is forced to zero, allowing the underflow. The consequence is memory corruption that can cause an application crash, data corruption, or, if an attacker can influence the write location, potential arbitrary code execution. The weakness is identified as CWE‑124.

Affected Systems

The issue is present in the HDFGroup HDF5 library, a high‑performance data management framework used in scientific computing and other domains. No specific patch level is identified in the advisory, so any deployment of the library that might invoke H5Iget_name or H5G_get_name with a user‑supplied size argument could be affected. Organizations should verify that all recent HDF5 releases include the fix or, lacking a patch, implement defensive checks during development.

Risk and Exploitability

The CVSS score of 5.9 places the vulnerability in the medium severity range. The EPSS score indicates a very low exploitation probability, with a value of <1%, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is influencing the size parameter passed to H5Iget_name or H5G_get_name, so the attack is more likely in contexts where the library is called with application‑level arguments that can be controlled by a user or a malicious file. If the function is reached in a setting where the caller does not supply a safe buffer size, the underflow can be triggered. The lack of a publicly documented exploit means current risk is limited to crashes or memory corruption, but the potential for exploitation in more complex attacks should not be ignored.

Generated by OpenCVE AI on July 30, 2026 at 19:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest released HDF5 version that includes the buffer‑underflow fix once it becomes available.
  • Ensure that all calls to H5Iget_name or H5G_get_name in the codebase provide a positive, non‑zero buffer size; if the size is derived from external input, add validation to reject or default to a safe value.
  • If is not immediately possible, apply a local patch to H5Gname.c to guard against a zero size value before the null terminator is written, or wrap the call with a safety check that aborts or logs an error when size is zero.
  • Monitor application logs for segmentation faults or other abnormal terminations that may indicate a buffer underflow occurrence, and attach a debugger to investigate.

Generated by OpenCVE AI on July 30, 2026 at 19:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 21 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Mon, 20 Jul 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Hdfgroup
Hdfgroup hdf5
Vendors & Products Hdfgroup
Hdfgroup hdf5

Mon, 20 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 20 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description HDF5 is a high-performance library and a file format specification that implements the HDF5 data model. If `H5Iget_name` is invoked on a group id with `0` for the size parameter, it will underflow when trying to place a null terminator in the buffer. This can occur if `H5Iget_name` is invoked in a way where `size` can be forced to zero, and there is important data before the `name` buffer.
Title Buffer underflow in `H5Iget_name `/`H5G_get_name` if size is zero
Weaknesses CWE-124
References
Metrics cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-20T18:56:52.113Z

Reserved: 2026-02-11T19:56:24.813Z

Link: CVE-2026-26199

cve-icon Vulnrichment

Updated: 2026-07-20T18:56:18.160Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-20T14:59:35Z

Links: CVE-2026-26199 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:30:09Z

Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')