Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136905: medium-severity vulnerability (CVSS 6.3) in CESNET libyang.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.3.
Affected products and versions
CESNET libyang <= 6.4.13
| Product | Versions | Fixed in |
|---|---|---|
| CESNET libyang | <= 6.4.13 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/CESNET/libyang/pull/2644 — CVE Program
- https://github.com/CESNET/libyang/commit/98a4d748f5b744cc9011bb8ade972d69167ed17e — CVE Program
- https://github.com/CESNET/libyang/blob/v6.4.13/src/out.c#L298-L342 — CVE Program
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset — CVE Program
Weaknesses (CWE): CWE-459
Relevant change history
Published
Preliminary advisory published.