CVE-2026-136908
HIGH 8.2CVSS 4.0libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()
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.
- Published
- 25 Nov 2026
- Last modified
- 25 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Received
- Weakness
- CWE-761
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | HIGH 8.2 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | CESNET | libyang | <= 6.4.13 |
References
- https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250 · technical-description
- https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74 · patch
- https://github.com/CESNET/libyang/pull/2641 · issue-tracking, patch
- https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory · third-party-advisory
History
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 25 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 25 Nov 2026)