UBUNTU-CVE-2026-120689: Medium severity ubuntu/hdf5 vulnerability

Published Nov 3, 2026
·
Updated

HDF5 through 2.2.0 contains an uncontrolled recursion vulnerability in H5Biteratehelper() 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 H5Bcachedeserialize() 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 H5Ggetinfo() or H5Ggetnumobjs() on a group in the crafted file, which reaches H5Biterate() through H5Gobjinfo() and H5Gstabcount(). An attacker who can get a user or application to open a malicious file can cause a denial of service.

Affected Software

8 affected components
ubuntu/hdf5*
ubuntu/hdf5*
ubuntu/hdf5*
ubuntu/hdf5*
ubuntu/hdf5*
ubuntu/hdf5*
ubuntu/hdf5*
ubuntu/hdf5*

Event History

Nov 3, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What must an attacker do to trigger the crash?

The attacker must persuade a user or application to open a crafted HDF5 file and cause group information to be queried. Calls to H5Gget_info() or H5Gget_num_objs() on a group in that file can trigger the vulnerable B-tree iteration.

2

What is the practical impact?

A malformed version 1 B-tree can cause unbounded recursion and exhaust the stack, crashing the affected process. The provided data describes a denial-of-service impact, not confidentiality or integrity impact.

3

Why can the malformed B-tree bypass validation?

The child-level check occurs when a node is first loaded into the metadata cache. A crafted child pointer that refers to a node already in the cache, including a self-reference, bypasses that check during iteration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203