File Descriptor Leak in libyang Affecting CESNET Software
CVE-2026-136906
6.3MEDIUM
What is CVE-2026-136906?
libyang version 6.4.13 contains a vulnerability that leads to a file descriptor leak in the functions ly_in_new_filepath() and ly_in_filepath() located in src/in.c. This issue arises when file mapping fails, as the implementation does not properly close file descriptors. Attackers capable of providing files that are parsed through the functions lyd_parse_data_path() or lys_parse_path() can exploit this vulnerability by continually submitting empty files. This repeated action can exhaust file descriptors, ultimately resulting in the failure of subsequent file and socket operations, thus creating a significant risk to the stability of applications relying on libyang.
Affected Version(s)
libyang 0 <= 6.4.13
