GHSA-3fmm-4mh3-vx58MediumCVSS 4.8
CESNET libyang through 6.4.13 contains a return of wrong status code vulnerability in...
🔗 CVE IDs covered (1)
📋 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 (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-136907
- https://github.com/CESNET/libyang/issues/2598
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepath
- https://github.com/advisories/GHSA-3fmm-4mh3-vx58