# CVE-2026-136907: libyang through 6.4.13 Wrong Status Code in ly_in_filepath()

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-25T14:51:42.789Z
- Modified: 2026-11-25T16:17:47.647Z
- Weaknesses: CWE-393
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- CESNET libyang: up to 6.4.13

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/CESNET/libyang/issues/2598> (exploit, issue-tracking)
- <https://github.com/CESNET/libyang/commit/ed9b84f325fb88e1aa467417222c5f0d0ab51fb0> (patch)
- <https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L281-L316> (technical-description)
- <https://www.vulncheck.com/advisories/libyang-through-6.4.13-wrong-status-code-in-ly-in-filepath> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-136907](https://www.cve.org/CVERecord?id=CVE-2026-136907), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-136907](https://nvd.nist.gov/vuln/detail/CVE-2026-136907), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-136907 · Whole record: https://cve.day/CVE-2026-136907.json · Rebuilt by cve.day 2026-11-25T23:18:05.021Z
