{"id":"CVE-2026-136906","aliases":["CVE-2026-136906"],"related":[],"kind":"vulnerability","state":"published","title":"libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T14:51:43.969Z","modified":"2026-11-30T19:17:54.687Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","score":3.7,"rating":"LOW"}],"cwes":["CWE-775"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"6.4.13","status":"affected"}],"vendor":"CESNET","product":"libyang","repo":"https://github.com/CESNET/libyang","source":"cvelist"}],"references":[{"url":"https://github.com/CESNET/libyang/issues/2598","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Pu Cheng"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-30T18:53:18.682Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-136906","url":"https://www.cve.org/CVERecord?id=CVE-2026-136906","licence":"CVE Terms of Use","modified":"2026-11-30T18:53:52.568Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-136906","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136906","licence":"Public domain","modified":"2026-11-30T19:17:54.687Z"}],"updatedAt":"2026-11-30T19:32:17.760Z","epss":{"score":0.00871,"percentile":0.59899,"date":"2026-12-01T12:00:22.000Z"}}