{"id":"CVE-2026-120689","aliases":["CVE-2026-120689"],"related":[],"kind":"vulnerability","state":"published","title":"Uncontrolled Recursion in HDF5 H5B__iterate_helper() via Crafted File","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-02T19:39:28.327Z","modified":"2026-11-03T16:25:21.310Z","severity":{"scorer":"HDFG","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"HDFG","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"custom","version":"<2.3.0","status":"affected"}],"vendor":"The HDF Group","product":"HDF5","source":"cvelist"}],"references":[{"url":"https://github.com/HDFGroup/hdf5/issues/6403","tags":[],"sources":["cvelist","nvd"]}],"credits":["Gabe Sherman"],"assigner":"HDFG","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-02T19:52:19.579Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120689","url":"https://www.cve.org/CVERecord?id=CVE-2026-120689","licence":"CVE Terms of Use","modified":"2026-11-02T19:52:35.578Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120689","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120689","licence":"Public domain","modified":"2026-11-03T16:25:21.310Z"}],"updatedAt":"2026-11-25T22:59:48.221Z","epss":{"score":0.00176,"percentile":0.07495,"date":"2026-12-01T12:00:22.000Z"}}