Skip to content
DayZeroHub
High Not yet writtenCVSS 8.2CVE-2026-136908

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

CESNET libyang

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

ProductVersionsFixed in
CESNET libyang<= 6.4.13—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-761

Relevant change history

  1. Published

    Preliminary advisory published.