CVE-2026-136907
MEDIUM
NVD
CVSS Score
4.8
Severity
MEDIUM
Published
Nov 25, 2026
Vendor
unknown
Description
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.
References
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0
- https://github.com/CESNET/libyang/issues/2598
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepath
- https://github.com/CESNET/libyang/issues/2598