CVE-2026-136906
libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()
CVSS Score
3.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-775 |
| Vendor | cesnet |
| Product | libyang |
| Published | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for cesnet libyang
Be the first to know when new low vulnerabilities affecting cesnet libyang are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Affected Versions
CESNET / libyang
0 โค 6.4.13
References
github.com: https://github.com/CESNET/libyang/issues/2598 github.com: https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0 github.com: https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279 github.com: https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316 vulncheck.com: https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath
Credits
Pu Cheng Pu Cheng