{"id":"CVE-2026-136906","aliases":[],"title":"libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()","originalDescription":"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.","severity":{"cvss":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00616,"percentile":0.43816},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/CESNET/libyang/issues/2598","type":"issue-tracking"},{"url":"https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0","type":"patch"},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279","type":"technical-description"},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath","type":"third-party-advisory"},{"url":"https://github.com/CESNET/libyang","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136906.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136906","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T15:28:42.139Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136906","license":"NVD terms of use","firstSeenAt":"2026-11-25T15:28:42.139Z"},{"name":"osv","at":"2026-11-26T21:45:24.959Z","url":"https://osv.dev/vulnerability/CVE-2026-136906","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T16:35:02.597Z"},{"name":"cvelistV5","at":"2026-11-28T23:14:12.131Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-136906","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T15:24:39.381Z"}],"firstSeenAt":"2026-11-25T15:24:39.381Z","publishedAt":"2026-11-25T14:51:43.969Z","modifiedAt":"2026-11-26T21:02:11.903Z"}