CVE-2026-136908: libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()

Published Nov 25, 2026
·
Updated

libyang through 6.4.13 contains a release of invalid pointer vulnerability in lyinmemory() and lyinmemorychunk() 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 Software

1 affected component
CESNET libyang<=6.4.13

Event History

Nov 25, 2026
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using affected libyang versions are exposed when they parse attacker-supplied YANG data from a heap buffer and later free the pointer returned by ly_in_memory() or ly_in_memory_chunk().

2

What must an attacker do to trigger the failure?

The attacker must be able to supply YANG data that the application parses from a heap buffer. Exploitation depends on the application freeing the returned pointer, which can pass an interior address to free() and abort the process.

3

What is the expected impact?

The described outcome is process termination due to an invalid free, resulting in denial of service. No confidentiality or integrity impact is stated.

4

How can I determine whether my application is affected?

Review calls to ly_in_memory() and ly_in_memory_chunk() and determine whether their returned pointers are later freed. The affected case specifically involves parsing YANG data from heap-backed buffers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203