CVE-2026-136907
CVE-2026-136907 · libyang through 6.4.13 Wrong Status Code in ly_in_filepath()
CVSS 6.3 · Medium · EPSS 0.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- libyangNo fix published
- libyang Ubuntu 20.04 LTSNo fix published
- libyang Ubuntu 22.04 LTSNo fix published
- libyang2 Ubuntu 22.04 LTSNo fix published
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libyang"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libyang2"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
libyang
- Versions
- ≥ 0, ≤ 6.4.13: Affected (semver)
No fix published
libyang Ubuntu 20.04 LTS
- Versions
- 0.16.105-1
- 0.16.105-2
- 0.16.105-3
- 0.16.105-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libyang Ubuntu 22.04 LTS
- Versions
- 1.0.225-1.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libyang2 Ubuntu 22.04 LTS
- Versions
- 2.0.112-6
- 2.0.112-6ubuntu1
- 2.0.112-6ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libyang2 Ubuntu 24.04 LTS
- Versions
- 2.1.30-2
- 2.1.30-2.1
- 2.1.30-2.1build1
- 2.1.30-2.1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libyang Ubuntu 26.10
- Versions
- 3.13.6-1
- 3.13.6-1ubuntu1
- 6.1.4-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libyang Ubuntu 26.04 LTS
- Versions
- 3.13.5-2
- 3.13.6-1
- 3.13.6-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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://nvd.nist.gov/vuln/detail/CVE-2026-136907