Return of Wrong Status Code Vulnerability in CESNET libyang Product
CVE-2026-136907

6.3MEDIUM

Key Information:

Vendor

Cesnet

Status
Vendor
CVE Published:
25 November 2026

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

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Pu Cheng
Pu Cheng
.