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

Published Updated

Crafted YANG data parsed from a heap buffer can make libyang free an invalid pointer, crashing applications that parse untrusted YANG.

CVSS score

High

8.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-136908?

CVE-2026-136908 is a high-severity memory corruption vulnerability in CESNET libyang, published on 25 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-761

How severe is CVE-2026-136908?

CVE-2026-136908 scores 8.2 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
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

Which versions are affected by CVE-2026-136908?

1 open source package ship an affected version, including cesnet/libyang.

An affected version is only exploitable if your software calls ly_in_memory or ly_in_memory_chunk. Many projects that include it are not exposed.

PackageAffectedFixed in
cesnet/libyang GitHub
pkg:github/cesnet/libyang
All versions to 6.4.13None

How do I fix CVE-2026-136908?

No fix has been published for CVE-2026-136908 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-136908 being exploited?

There is no known exploitation of CVE-2026-136908 in the wild and no public exploit code.

Sources

Also known as AZL-116176, GHSA-crrx-r3x8-rp53, UBUNTU-CVE-2026-136908.

Is CVE-2026-136908 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free