CVE-2026-92627

Heap Use-After-Free in H5T__conv_f_f

Published Sep 16, 2026 CVSS 4.0 · 4.6 Medium EPSS < 1% KEV · Not listed
Description
A heap-use-after-free vulnerability exists in H5T__conv_f_f() in src/H5Tconv.c in HDF5 before 1.14.2. When converting a compound datatype containing floating-point members during a dataset read, a temporary buffer allocated with calloc() is freed and subsequently read from within the same conversion routine. An attacker who can supply a crafted HDF5 file containing a specially constructed compound datatype can trigger the use-after-free when the file is parsed by an application that reads the affected dataset, such as h5dump. This can result in a crash and, depending on heap layout and allocator behavior, may be exploitable for further memory corruption up to remote code execution.

Analysis

AI-generated

Technical impact

A heap-use-after-free flaw exists in the H5T__conv_f_f function of HDF5, triggered when converting compound datatypes that contain floating-point members during a dataset read. The routine frees a temporary buffer allocated with calloc() and later reads from it, leading to a crash and, depending on heap layout and allocator behavior, potential memory corruption and remote code execution.

Affected Systems

The flaw affects The HDF Group's HDF5 library versions earlier than 1.14.2. Any application that reads such datasets in a vulnerable file, such as the h5dump utility, is susceptible.

Risk and Exploitability

The CVSS score of 4.6 positions the vulnerability at a moderate level. The EPSS score of less than 1% suggests current exploitation activity is low, and the feature is not listed in CISA's KEV catalog. However, the attack vector is straightforward: an attacker crafts an HDF5 file with a specially constructed compound datatype, and a victim application opens the file to read the dataset. The lack of required authentication and the reliance on parsing user-supplied data make the exploitation path simple, though achieving full remote code execution would also depend on the underlying heap state and allocator behavior.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade HDF5 to version 1.14.2 or later (the vulnerability is fixed in that release).
  • Restrict or sandbox the usage of applications that open HDF5 files (e.g., run h5dump in a protected environment).
  • Avoid loading or processing untrusted HDF5 files whenever possible.

Generated by OpenCVE AI on September 18, 2026 at 06:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Hdfgroup
Hdfgroup hdf5
Vendors & Products Hdfgroup
Hdfgroup hdf5
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A heap-use-after-free vulnerability exists in H5T__conv_f_f() in src/H5Tconv.c in HDF5 before 2.3.0. When converting a compound datatype containing floating-point members during a dataset read, a temporary buffer allocated with calloc() is freed and subsequently read from within the same conversion routine. An attacker who can supply a crafted HDF5 file containing a specially constructed compound datatype can trigger the use-after-free when the file is parsed by an application that reads the affected dataset, such as h5dump. This can result in a crash and, depending on heap layout and allocator behavior, may be exploitable for further memory corruption up to remote code execution. A heap-use-after-free vulnerability exists in H5T__conv_f_f() in src/H5Tconv.c in HDF5 before 1.14.2. When converting a compound datatype containing floating-point members during a dataset read, a temporary buffer allocated with calloc() is freed and subsequently read from within the same conversion routine. An attacker who can supply a crafted HDF5 file containing a specially constructed compound datatype can trigger the use-after-free when the file is parsed by an application that reads the affected dataset, such as h5dump. This can result in a crash and, depending on heap layout and allocator behavior, may be exploitable for further memory corruption up to remote code execution.
Type Values Removed Values Added
Description A heap-use-after-free vulnerability exists in H5T__conv_f_f() in src/H5Tconv.c in HDF5 before 2.3.0. When converting a compound datatype containing floating-point members during a dataset read, a temporary buffer allocated with calloc() is freed and subsequently read from within the same conversion routine. An attacker who can supply a crafted HDF5 file containing a specially constructed compound datatype can trigger the use-after-free when the file is parsed by an application that reads the affected dataset, such as h5dump. This can result in a crash and, depending on heap layout and allocator behavior, may be exploitable for further memory corruption up to remote code execution.
Title Heap Use-After-Free in H5T__conv_f_f
Weaknesses CWE-416
References
Metrics cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
HDFG
Published
Updated
Sep 17, 2026, 5:36 PM
Reserved
Sep 16, 2026, 3:14 PM
Status
Awaiting Analysis
Published
Sep 16, 2026, 4:17 PM
Modified
Sep 18, 2026, 7:34 PM
Severity
Important
Public date
Sep 16, 2026, 3:16 PM