Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250
- https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c7
- https://github.com/CESNET/libyang/pull/2641
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-rele
FAQ
What is CVE-2026-136908?
CVE-2026-136908 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 ad...
How severe is CVE-2026-136908?
CVE-2026-136908 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-136908?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.