CVE-2026-136905
libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()
Medium · 6.3
- CVSS
- 6.3
- EPSS
- 0.51% (p37)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- CESNET libyang
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
Description
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.
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/CESNET/libyang/pull/2644 issue-tracking
- https://github.com/CESNET/libyang/commit/98a4d748f5b744cc9011bb8ade972d69167ed17e patch
- https://github.com/CESNET/libyang/blob/v6.4.13/src/out.c#L298-L342 technical-description
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset third-party-advisory
- https://github.com/CESNET/libyang package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136905.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-136905 advisory