CVE-2026-136908 - libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
Vulnerability · Reported by NVD · · CWE-761
- Severity
- High Risk score 82/100
- CVSS
- 8.2 v4.0 · from NVD
- Exploit chance (EPSS)
- 0.87% Higher than 57% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is high, meaning specific conditions must exist first.
Is it being exploited?
The EPSS model estimates a 0.87% chance this CVE will be exploited in the next 30 days, which is low and higher than 57% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
CVE-2026-136908
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-136908 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.