# CVE-2026-136908: libyang through 6.4.13 Invalid Pointer Release via ly\_in\_memory()

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-11-25 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-136908
- Record: https://cvemate.com/vulnerability/CVE-2026-136908 · JSON: https://cvemate.com/vulnerability/CVE-2026-136908/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.874%, percentile 60.189%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cesnet libyang: ≤ 6.4.13
- ubuntu libyang (Ubuntu): All versions (No fix recorded)
- ubuntu libyang2 (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/CESNET/libyang/pull/2641>
- <https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74>
- <https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250>
- <https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory>
- <https://ubuntu.com/security/CVE-2026-136908>
- <https://www.cve.org/CVERecord?id=CVE-2026-136908>

---

Data as of 2026-12-05T03:45:12.158Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
