CVE-2026-136907
libyang through 6.4.13 Wrong Status Code in ly_in_filepath()
6.3
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| libyang | cesnet | ≤6.4.13 | — | CVE.org |