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 f...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:20.04:LTSlibyang |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibyang |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibyang2 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibyang2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libyang |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibyang |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org