libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()

State
Published
Severity
8.2 High
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Nov 25, 2026

Read the record on cve.org

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.

ProductVersions
libyang CESNET6.4.13 and earlier Affected

Weaknesses

  • CWE-761 Free of Pointer not at Start of Buffer

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.