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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 25 Nov 2026 15:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath() | |
| First Time appeared |
Cesnet
Cesnet libyang |
|
| Weaknesses | CWE-775 | |
| CPEs | cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Cesnet
Cesnet libyang |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-25T14:51:43.969Z
Reserved: 2026-11-25T14:25:12.853Z
Link: CVE-2026-136906
No data.
No data.
No data.
OpenCVE Enrichment
No data.
Weaknesses