{"api_version":"1","generated_at":"2026-09-23T11:24:03+00:00","cve":"CVE-2026-81878","urls":{"html":"https://cve.report/CVE-2026-81878","api":"https://cve.report/api/cve/CVE-2026-81878.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-81878","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-81878"},"summary":{"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 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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-09-22 16:18:02","updated_at":"2026-09-22 18:17:20"},"problem_types":["CWE-190","CWE-787","CWE-190 CWE-190: Integer Overflow or Wraparound","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3","name":"https://github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/radareorg/radare2/issues/26222","name":"https://github.com/radareorg/radare2/issues/26222","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/radareorg/radare2/pull/26177","name":"https://github.com/radareorg/radare2/pull/26177","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/radareorg/radare2/releases/tag/6.2.0","name":"https://github.com/radareorg/radare2/releases/tag/6.2.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0","name":"https://github.com/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-81878","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81878","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"radareorg","product":"radare2","version":"affected < 6.2.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-81878","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-09-22T17:54:59.836434Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-09-22T17:55:51.200Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/radareorg/radare2/issues/26222"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"radare2","vendor":"radareorg","versions":[{"status":"affected","version":"< 6.2.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-22T15:07:45.225Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3"},{"name":"https://github.com/radareorg/radare2/issues/26222","tags":["x_refsource_MISC"],"url":"https://github.com/radareorg/radare2/issues/26222"},{"name":"https://github.com/radareorg/radare2/pull/26177","tags":["x_refsource_MISC"],"url":"https://github.com/radareorg/radare2/pull/26177"},{"name":"https://github.com/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0","tags":["x_refsource_MISC"],"url":"https://github.com/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0"},{"name":"https://github.com/radareorg/radare2/releases/tag/6.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/radareorg/radare2/releases/tag/6.2.0"}],"source":{"advisory":"GHSA-9phv-v2w8-56j3","discovery":"UNKNOWN"},"title":"radare2: Integer overflow causes heap out-of-bounds write in radare2 PYC parser"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-81878","datePublished":"2026-09-22T15:07:45.225Z","dateReserved":"2026-08-27T17:48:42.122Z","dateUpdated":"2026-09-22T17:55:51.200Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-22 16:18:02","lastModifiedDate":"2026-09-22 18:17:20","problem_types":["CWE-190","CWE-787","CWE-190 CWE-190: Integer Overflow or Wraparound","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-09-22T17:54:59.836434Z","id":"CVE-2026-81878","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"81878","Ordinal":"1","Title":"radare2: Integer overflow causes heap out-of-bounds write in rad","CVE":"CVE-2026-81878","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"81878","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"radare2: Integer overflow causes heap out-of-bounds write in rad"}]}}}