Skip to content

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

HighCVSS 8.2 EPSS 0.87%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

7 packages: 1 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
azure linux libyang(Azure Linux 3.0) All versions No fix listed No fix yet
ubuntu/libyang(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libyang(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libyang(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/libyang2(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libyang2(Ubuntu 24.04) All versions No fix listed No fix yet
cesnet libyang <= 6.4.13 after 6.4.13 Fixed

Affected products

ProductAffected versionsFixed in
cesnet libyang <= 6.4.13 No fix listed
ubuntu/libyang2(Ubuntu:24.04) All versions No fix listed
ubuntu/libyang(Ubuntu:26.04) All versions No fix listed
ubuntu/libyang(Ubuntu:26.10) All versions No fix listed
azure linux libyang(Azure Linux:3.0) All versions No fix listed
ubuntu/libyang(Ubuntu:22.04) All versions No fix listed
ubuntu/libyang2(Ubuntu:22.04) All versions No fix listed

References