CVE-2026-136906

libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()

Medium published · updated

6.3
CVSS score out of 10 · NVD (vulncheck.com)

Description

libyang through 6.4.13 contains a file descriptor leak in ly_in_new_filepath() and ly_in_filepath() in src/in.c that fails to close descriptors when file mapping fails. Attackers who can supply files parsed through lyd_parse_data_path() or lys_parse_path() can repeatedly submit empty files to exhaust descriptors, causing later file and socket operations to fail.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
libyang cesnet ≤6.4.13— CVE.org

References