CVE-2026-136908
CVE-2026-136908 · libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
CVSS 8.2 · High · EPSS 0.9%
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.
libyang through 6.4.13 contains a release of invalid pointer vulnerability in ly_in_memory() and ly_in_memory_chunk() in src/in.c that return the current read position instead of the previous start address. Attackers supplying YANG data parsed from a heap buffer can cause applications freeing the returned pointer to pass an interior address to free(), aborting the process.
- 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/pull/2641
- https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory
- https://nvd.nist.gov/vuln/detail/CVE-2026-136908