libyang through 6.4.13 File Descriptor Leak via ly_in_new_filepath()
CVE-2026-136906Published 25 Nov 2026, 14:51 UTC
Real-world risk
0.6/ 10Low
Routine
If the vulnerable configuration applies to you: 1.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.3
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| libyangNiche | <= 6.4.13 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.9% chance of exploitation in 30 days (percentile 60), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.203
- Threat T3: Public proof of concept0.950
- 10 × impact 0.3 × prerequisites 0.2025 × threat 0.950.577
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 25 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
CWE-775
References
- https://github.com/CESNET/libyang/issues/2598exploit, issue-tracking
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0patch
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L252-L279technical-description
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-file-descriptor-leak-via-ly-in-new-filepaththird-party-advisory
- CVE-2026-136906 on CVE.org