{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-136907","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-25T14:25:13.202Z","datePublished":"2026-11-25T14:51:42.789Z","dateUpdated":"2026-11-25T15:42:48.832Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-25T14:51:42.789Z"},"datePublic":"2026-10-23T00:00:00.000Z","title":"libyang through 6.4.13 Wrong Status Code in ly_in_filepath()","descriptions":[{"lang":"en","value":"CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in ly_in_filepath() in src/in.c that reports success when a new file cannot be opened or mapped. Attackers who make an application switch a reused input handler to a nonexistent or empty file cause it to parse the previously loaded file's data as the requested input."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Return of Wrong Status Code","cweId":"CWE-393","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:L/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","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:L/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://github.com/CESNET/libyang/issues/2598","tags":["issue-tracking"]},{"url":"https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0","tags":["patch"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepath","name":"VulnCheck Advisory: libyang through 6.4.13 Wrong Status Code in ly_in_filepath()","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"}},"adp":[{"references":[{"url":"https://github.com/CESNET/libyang/issues/2598","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-25T15:42:40.863304Z","id":"CVE-2026-136907","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-25T15:42:48.832Z"}}]}}