Invalid pointer release in libyang ly_in_memory() aborts processes
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
CESNET libyang through 6.4.13 is affected. The ly_in_memory() function returns the current read position instead of the previous start address, so the returned pointer is not the start of the heap buffer (CWE-761). An unauthenticated remote attacker can supply YANG data parsed from a heap buffer, causing applications that free the returned pointer to abort.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for libyang.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Timeline
- 2026-11-25 Threatist record created from CVE-2026-136908
- 2026-11-25 Alias added: GHSA-crrx-r3x8-rp53
- 2026-11-25 CISA SSVC decision points changed
References
More CESNET vulnerabilities
- TI-2026-32573 libyang: lyb_read_string() integer overflow → heap buffer overflow CVSS 3.1HIGH 7.5
- TI-2023-11820 libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via… CVSS 3.1HIGH 7.5
- TI-2026-98268 Wrong status code in libyang file input reports success on failure CVSS 4.0MEDIUM 6.3
- TI-2026-98267 File descriptor leak in libyang when parsing files CVSS 4.0MEDIUM 6.3
- TI-2026-79264 Uninitialized pointer free in libyang NETCONF RPC parser CVSS 4.0MEDIUM 6.0
- TI-2019-13946 Stack-based buffer overflow in Red Hat libyang CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-136908 · CVE Program
- CVE-2026-136908 · NVD
- FIRST EPSS
- GHSA-crrx-r3x8-rp53 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences