CVE-2026-136908
published high CVSS 4.0 · 8.2libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| CESNET | — | libyang0 through 6.4.13 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CESNET | libyang | 0 through 6.4.13 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-761 Free of Pointer not at Start of Buffer
References
4- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250
- https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74
- https://github.com/CESNET/libyang/pull/2641
- VulnCheck Advisory: libyang through 6.4.13 Invalid Pointer Release via ly_in_memory() https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory
Provider assertions
2VulnCheck · cna
libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 718845bef7742bf170fe08dd01098d687890bf6e93cbff9e0fb8f42a543c0d51
- Ingested
- 25 Nov 2026, 18:20:43 UTC
- Source record
- Official CVE record