CESNET libyang through 6.4.13 contains an incomplete cleanup vulnerability in ly_out_reset() in src/out.c that tests a
Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 25 Nov 2026, 16:23 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.7 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| CESNETlibyang | Affected
| Fixed in– |
GitHublibyangpkg:github/libyangOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid reusing output handlers across different clients or implement manual truncation of output files after rewinding to prevent data leakage.
Description
CESNET libyang versions through 6.4.13 have an incomplete cleanup vulnerability in the ly_out_reset() function located in src/out.c. This flaw involves improper handling of file output where the function tests a stale errno ESPIPE value after a successful seek. As a result, applications that reuse a single output handler for multiple clients rewind the file but do not truncate it, causing leftover bytes from a previous client's output to leak.
References
- nvd.nist.gov/vuln/detail/CVE-2026-136905 (opens in a new tab)
- github.com/CESNET/libyang/pull/2644 (opens in a new tab)
- github.com/CESNET/libyang/commit/98a4d748f5b744cc9011bb8ade972d69167ed17e (opens in a new tab)
- github.com/CESNET/libyang/blob/v6.4.13/src/out.c (opens in a new tab)
- vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset (opens in a new tab)