Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136908: high-severity vulnerability (CVSS 8.2) in CESNET libyang.
What happened
Original description from the source: 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
High severity, CVSS 8.2.
Affected products and versions
CESNET libyang <= 6.4.13
| Product | Versions | Fixed in |
|---|---|---|
| CESNET libyang | <= 6.4.13 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/CESNET/libyang/pull/2641 — CVE Program
- https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74 — CVE Program
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250 — CVE Program
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory — CVE Program
Weaknesses (CWE): CWE-761
Relevant change history
Published
Preliminary advisory published.