CVE-2026-136905
JSON

6.3medium

libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
CESNET libyangup to 6.4.13CVE List

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-459

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-136905 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-136905 changed 2026-11-30Public domain