CVEfocus › CVE database › CVE-2026-120689

CVE-2026-120689Uncontrolled Recursion in HDF5 H5B__iterate_helper() via Crafted File

CVSS 4.3 MediumEPSS 0.2% (higher than 4% of CVEs)Published 2026-11-02Updated 2026-11-02Assigner: HDFG

HDF5 through 2.2.0 contains an uncontrolled recursion vulnerability in H5B__iterate_helper() in src/H5B.c. When iterating a version 1 B-tree, the function does not verify that a child node’s level matches the expected level. That check is performed only in H5B__cache_deserialize() when a node is first loaded into the metadata cache. A crafted HDF5 file whose B-tree child pointer refers back to a node already in the cache, such as a node that points to itself, bypasses the check and causes unbounded recursion, leading to stack exhaustion and a crash. This can be triggered by calling H5Gget_info() or H5Gget_num_objs() on a group in the crafted file, which reaches H5B_iterate() through H5G__obj_info() and H5G__stab_count(). An attacker who can get a user or application to open a malicious file can cause a denial of service.

CWE-674

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10hdf5Fix pendingUBUNTU-CVE-2026-120689
Ubuntu 26.04hdf5Under investigationUBUNTU-CVE-2026-120689
Ubuntu 24.04hdf5Under investigationUBUNTU-CVE-2026-120689
Ubuntu 22.04hdf5Under investigationUBUNTU-CVE-2026-120689
Ubuntu 20.04hdf5Fix pendingUBUNTU-CVE-2026-120689
Ubuntu 18.04hdf5Fix pendingUBUNTU-CVE-2026-120689
Ubuntu 16.04hdf5Fix pendingUBUNTU-CVE-2026-120689
Ubuntu 14.04hdf5Fix pendingUBUNTU-CVE-2026-120689
Debian 14hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-120689
Debian 13hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-120689
Debian 12hdf5Will not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-120689

What the vendor says

As published in the CVE record by HDFG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.