CVE-2026-136908
libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-761 |
| Vendor | cesnet |
| Product | libyang |
| Published | Nov 25, 2026 |
| Last Updated | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for cesnet libyang
Be the first to know when new medium vulnerabilities affecting cesnet libyang are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
CESNET / libyang
0 โค 6.4.13
References
github.com: https://github.com/CESNET/libyang/pull/2641 github.com: https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74 github.com: https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250 vulncheck.com: https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory
Credits
Pu Cheng Pu Cheng