CVE-2026-136908

libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()

High published · updated

8.2
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
libyang cesnet ≤6.4.13— CVE.org

References