GHSA-xxgp-q489-jhv8MediumCVSS 3.7
CESNET libyang through 6.4.13 contains an incomplete cleanup vulnerability in ly_out_reset() in...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-136905
- 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://github.com/advisories/GHSA-xxgp-q489-jhv8