Invalid Pointer Vulnerability in libyang Affected by Heap Buffer Manipulation
CVE-2026-136908

8.2HIGH

Key Information:

Vendor

Cesnet

Status
Vendor
CVE Published:
25 November 2026

What is CVE-2026-136908?

libyang versions up to 6.4.13 exhibit a vulnerability in the functions ly_in_memory() and ly_in_memory_chunk() located in src/in.c. This issue stems from an incorrect pointer release, where the functions return the current read position instead of the correct starting address. Malicious actors can exploit this vulnerability by supplying crafted YANG data parsed from a heap buffer, leading applications to improperly free the returned pointer. This can result in passing an interior address to the free() function, potentially causing application crashes and instability.

Affected Version(s)

libyang 0 <= 6.4.13

References

CVSS V4

Score:
8.2
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Pu Cheng
Pu Cheng
.