# CVE-2026-136905: libyang through 6.4.13 Incomplete Cleanup in ly\_out\_reset()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-25 · Modified: 2026-11-30
- Aliases: UBUNTU-CVE-2026-136905
- Record: https://cvemate.com/vulnerability/CVE-2026-136905 · JSON: https://cvemate.com/vulnerability/CVE-2026-136905/json

## Description

```text
CESNET libyang through 6.4.13 contains an incomplete cleanup vulnerability in ly_out_reset() in src/out.c that tests a stale errno ESPIPE value after a successful seek. Applications reusing one output handler for different clients rewind but do not truncate the file, leaking leftover bytes of a previous client's output.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.51%, percentile 45.059%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cesnet libyang: ≤ 6.4.13
- ubuntu libyang (Ubuntu): All versions (No fix recorded)
- ubuntu libyang2 (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/CESNET/libyang/pull/2644>
- <https://github.com/CESNET/libyang/commit/98a4d748f5b744cc9011bb8ade972d69167ed17e>
- <https://github.com/CESNET/libyang/blob/v6.4.13/src/out.c#L298-L342>
- <https://www.vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset>
- <https://ubuntu.com/security/CVE-2026-136905>
- <https://www.cve.org/CVERecord?id=CVE-2026-136905>

---

Data as of 2026-12-05T04:00:04.144Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
