Return of Wrong Status Code Vulnerability in CESNET libyang Product
CVE-2026-136907
6.3MEDIUM
What is CVE-2026-136907?
The CESNET libyang library, up to version 6.4.13, contains a critical flaw in the ly_in_filepath() function that misreports status codes when attempting to open or map a new file. This issue arises when an application erroneously switches an input handler to a nonexistent or empty file, allowing attackers to exploit this oversight. As a result, the system reuses data from a previously loaded file, potentially leading to unauthorized access or unexpected behavior within the application. Users and developers using libyang should promptly address this vulnerability to ensure system integrity and security.
Affected Version(s)
libyang 0 <= 6.4.13
