{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-81878","id":"CVE-2026-81878","title":"radare2: Integer overflow causes heap out-of-bounds write in radare2 PYC parser","description":"radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's CPython bytecode .pyc marshal parser was vulnerable because the CPython marshal readers accepted a 32-bit string length without rejecting values that overflow the size-plus-one allocation. The vulnerability is triggered by opening or inspecting a crafted .pyc file through r2 or rabin2. A length","descriptionLong":"radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's CPython bytecode .pyc marshal parser was vulnerable because the CPython marshal readers accepted a 32-bit string length without rejecting values that overflow the size-plus-one allocation. The vulnerability is triggered by opening or inspecting a crafted .pyc file through r2 or rabin2. A length of 0xffffffff wrapped the allocation to zero before the common byte reader wrote attacker-controlled data and fill bytes beyond the heap allocation. This can cause heap memory corruption and denial of service; arbitrary code execution is possible but has not been demonstrated. This issue is fixed in version 6.2.0.","published":"2026-09-22T15:07:45.225Z","updated":"2026-10-28T11:18:04.325437669Z","reserved":"2026-08-27T17:48:42.122Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["radareorg radare2"],"affectedProducts":[{"vendor":"radareorg","product":"radare2","defaultStatus":null,"versions":[{"version":"< 6.2.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-190","CWE-787"],"aliases":["GHSA-9phv-v2w8-56j3"],"references":[{"url":"https://github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory"]},{"url":"https://github.com/radareorg/radare2/issues/26222","tags":["x_refsource_MISC","exploit","Exploit","Mitigation","Vendor Advisory","report"]},{"url":"https://github.com/radareorg/radare2/pull/26177","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/radareorg/radare2/releases/tag/6.2.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81878.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81878","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00202,"epssPercentile":0.10279,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-81878","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81878","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-81878","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-81878","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}