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.
History

Thu, 26 Nov 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 25 Nov 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
First Time appeared Cesnet
Cesnet libyang
Weaknesses CWE-761
CPEs cpe:2.3:a:cesnet:libyang:*:*:*:*:*:*:*:*
Vendors & Products Cesnet
Cesnet libyang
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-25T14:51:41.646Z

Updated: 2026-11-25T18:11:11.847Z

Reserved: 2026-11-25T14:25:13.545Z

Link: CVE-2026-136908

cve-icon Vulnrichment

Updated: 2026-11-25T18:10:46.732Z

cve-icon NVD

Status : Received

Published: 2026-11-25T15:17:48.450

Modified: 2026-11-25T19:17:37.567

Link: CVE-2026-136908

cve-icon Redhat

No data.