{"schemaVersion":4,"id":"CVE-2026-136908","aliases":["UBUNTU-CVE-2026-136908"],"status":"published","duplicateOf":null,"title":"libyang through 6.4.13 Invalid Pointer Release via ly_in_memory()","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.","dates":{"published":"2026-11-25T14:51:41.646Z","modified":"2026-11-25T18:11:11.847Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.2,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.2,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true}]},"epss":{"probability":0.00874,"percentile":0.60189,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-11-26T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00874,"percentile":0.60189}],"last30":[{"date":"2026-11-26T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00874,"percentile":0.60189}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-761","name":"Free of Pointer not at Start of Buffer","description":"The product calls free() on a pointer to a memory resource that was allocated on the heap, but the pointer is not at the start of the buffer.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/761.html"}],"affected":[{"vendor":"cesnet","product":"libyang","name":"libyang","label":"libyang","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 6.4.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"6.4.13","endInclusive":true}}],"versionsText":"≤ 6.4.13","eol":null,"hubHref":"/vendor/cesnet/libyang"},{"vendor":"ubuntu","product":"libyang","name":"libyang","label":"libyang","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libyang","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libyang2","name":"libyang2","label":"libyang2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libyang2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/CESNET/libyang/pull/2641","label":"github.com/CESNET/libyang/pull/2641","hostname":"github.com","tags":["Issue Tracking","Patch"]},{"url":"https://github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74","label":"github.com/CESNET/libyang/commit/76c8009e63e52a5557cfafd68fbe44c22d732c74","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/CESNET/libyang/blob/v6.4.13/src/in.c#L214-L250","label":"github.com/CESNET/libyang/blob/v6.4.13/src/in.c","hostname":"github.com","tags":["Technical Description"]},{"url":"https://www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory","label":"www.vulncheck.com/advisories/libyang-through-6.4.13-invalid-pointer-release-via-ly-in-memory","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-136908","label":"ubuntu.com/security/CVE-2026-136908","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-136908","label":"www.cve.org/CVERecord?id=CVE-2026-136908","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-11-25T14:51:41.646Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-25T18:11:11.847Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,0,1,82],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00874,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-25T18:11:11.847Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-25T18:11:11.847Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-25T18:11:11.847Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-25T18:11:11.847Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-25T18:11:11.847Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.2,"vector":"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","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-11-25T18:11:11.847Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-25T18:09:57.588Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00874,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:47:02.559Z","stale":false,"partial":false}}