CVE-2026-136908
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.9)
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- CESNET libyang <= 6.4.13
- CESNET libyang 6.4.13
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run CESNET libyang and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new CESNET libyang CVEsYou are reading CVE-2026-136908. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/CESNET/libyang/pull/2641
- Patchhttps://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74
- Referencehttps://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250
- Referencehttps://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory
Data last checked: Nov 30, 2026 06:29 UTC