CVE-2026-136908
libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
High · 8.2
- CVSS
- 8.2
- EPSS
- 0.87% (p57)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- CESNET libyang
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
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.
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/CESNET/libyang/pull/2641 issue-tracking
- https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74 patch
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250 technical-description
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory third-party-advisory
- https://github.com/CESNET/libyang package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136908.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-136908 advisory