libyang through 6.4.13 contains a release of invalid pointer vulnerability in ly_in_memory() and ly_in_memory_chunk()
Source GCVE Database
Not known to be exploited · CVSS 8.2 High.
Data as of 25 Nov 2026, 16:35 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| CESNETlibyang | Affected
| Fixed in– |
GitHublibyangpkg:github/libyangOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid processing untrusted YANG data from heap buffers or implement application-level checks to prevent freeing interior pointers.
Description
libyang versions through 6.4.13 have a vulnerability in functions ly_in_memory() and ly_in_memory_chunk() where an invalid pointer is released. This occurs because these functions return the current read position instead of the previous start address, leading to applications potentially freeing an interior pointer, which causes process aborts.
References
- nvd.nist.gov/vuln/detail/CVE-2026-136908 (opens in a new tab)
- github.com/CESNET/libyang/pull/2641 (opens in a new tab)
- github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74 (opens in a new tab)
- github.com/CESNET/libyang/blob/v6.4.13/src/in.c (opens in a new tab)
- vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory (opens in a new tab)