{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-136905","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-25T14:25:12.506Z","datePublished":"2026-11-25T14:51:45.073Z","dateUpdated":"2026-11-25T14:51:45.073Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-25T14:51:45.073Z"},"datePublic":"2026-11-19T00:00:00.000Z","title":"libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Incomplete Cleanup","cweId":"CWE-459","type":"CWE"}]}],"affected":[{"vendor":"CESNET","product":"libyang","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"6.4.13","versionType":"semver","status":"affected"}],"packageURL":"pkg:github/CESNET/libyang","repo":"https://github.com/CESNET/libyang"}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*","versionEndIncluding":"6.4.13"}]}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW"}}],"references":[{"url":"https://github.com/CESNET/libyang/pull/2644","tags":["issue-tracking","patch"]},{"url":"https://github.com/CESNET/libyang/commit/98a4d748f5b744cc9011bb8ade972d69167ed17e","tags":["patch"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/out.c#L298-L342","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-incomplete-cleanup-in-ly-out-reset","name":"VulnCheck Advisory: libyang through 6.4.13 Incomplete Cleanup in ly_out_reset()","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Pu Cheng","type":"finder"},{"lang":"en","value":"Pu Cheng","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}