# CVE-2026-136907: libyang through 6.4.13 Wrong Status Code in ly\_in\_filepath()

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-25 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-136907
- Record: https://cvemate.com/vulnerability/CVE-2026-136907 · JSON: https://cvemate.com/vulnerability/CVE-2026-136907/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.64%, percentile 52.079%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cesnet libyang: ≤ 6.4.13
- ubuntu libyang (Ubuntu): All versions (No fix recorded)
- ubuntu libyang2 (Ubuntu): All versions (No fix recorded)

## References

- <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://ubuntu.com/security/CVE-2026-136907>
- <https://www.cve.org/CVERecord?id=CVE-2026-136907>

---

Data as of 2026-12-05T03:45:11.791Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
