CVE-2026-136905

medium

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

https://www.vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset

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://euvd.enisa.europa.eu/vulnerability/EUVD-2026-135440

Details

Source: Mitre, NVD

Published: 2026-11-25

Updated: 2026-11-25

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 3.7

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Severity: Low

CVSS v4

Base Score: 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

Severity: Medium

EPSS

EPSS: 0.0051