CVE-2026-136906
MEDIUM 6.3CVSS 4.0libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()
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.
- Published
- 25 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-775
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 6.3 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | VulnCheck | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | CESNET | libyang | <= 6.4.13 |
References
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279 · technical-description
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316 · technical-description
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0 · patch
- https://github.com/CESNET/libyang/issues/2598 · issue-tracking
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepath · third-party-advisory
History
- 30 Nov 2026 19:41 UTC · NVD: 1 reference added
- 30 Nov 2026 19:01 UTC · CVE List: updated (other details)
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 25 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 25 Nov 2026)