{"id":"CVE-2026-136905","aliases":[],"title":"libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()","originalDescription":"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.","severity":{"cvss":6.3,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.0051,"percentile":0.36762},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/CESNET/libyang/pull/2644","type":"issue-tracking"},{"url":"https://github.com/CESNET/libyang/commit/98a4d748f5b744cc9011bb8ade972d69167ed17e","type":"patch"},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/out.c#L298-L342","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset","type":"third-party-advisory"},{"url":"https://github.com/CESNET/libyang","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136905.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136905","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T15:28:42.136Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136905","license":"NVD terms of use","firstSeenAt":"2026-11-25T15:28:42.136Z"},{"name":"osv","at":"2026-11-26T21:45:24.681Z","url":"https://osv.dev/vulnerability/CVE-2026-136905","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T16:35:02.746Z"},{"name":"cvelistV5","at":"2026-11-28T23:14:12.058Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-136905","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T15:24:39.373Z"}],"firstSeenAt":"2026-11-25T15:24:39.373Z","publishedAt":"2026-11-25T14:51:45.073Z","modifiedAt":"2026-11-26T21:02:12.858Z"}