CVE-2026-136906 libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()
MediumCVSS 6.3
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
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.
Upgrade path
7 packages: 1 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux libyang(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| ubuntu/libyang(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyang(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyang(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/libyang2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libyang2(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| cesnet libyang | <= 6.4.13 | after 6.4.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cesnet libyang | <= 6.4.13 | No fix listed |
| ubuntu/libyang2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:26.10) | All versions | No fix listed |
| azure linux libyang(Azure Linux:3.0) | All versions | No fix listed |
| ubuntu/libyang(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libyang2(Ubuntu:22.04) | All versions | No fix listed |
References
- github.com issue-tracking
- github.com patch
- github.com technical-description
- VulnCheck Advisory: libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath() third-party-advisory
- ENISA EUVD EUVD-2026-135439 third-party-advisory
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory