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

- Severity: High 8.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 60% of CVEs (2026-12-01)
- Published: 2026-11-25T14:51:41.646Z
- Modified: 2026-11-25T19:17:37.567Z
- Weaknesses: CWE-761
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- CESNET libyang: up to 6.4.13

## Every score

- VulnCheck: CVSS:4.0 8.2 High `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/CESNET/libyang/pull/2641> (issue-tracking, patch)
- <https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74> (patch)
- <https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250> (technical-description)
- <https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-136908](https://www.cve.org/CVERecord?id=CVE-2026-136908), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-136908](https://nvd.nist.gov/vuln/detail/CVE-2026-136908), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-136908 · Whole record: https://cve.day/CVE-2026-136908.json · Rebuilt by cve.day 2026-11-25T23:18:07.694Z
