Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136907: medium-severity vulnerability (CVSS 6.3) in CESNET libyang.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.3.
Affected products and versions
CESNET libyang <= 6.4.13
| Product | Versions | Fixed in |
|---|---|---|
| CESNET libyang | <= 6.4.13 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/CESNET/libyang/issues/2598 — CVE Program
- https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0 — CVE Program
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316 — CVE Program
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepath — CVE Program
Weaknesses (CWE): CWE-393
Relevant change history
Published
Preliminary advisory published.