CVE-2026-81878Radare2 integer overflow
CVSS score
5.5
Medium
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.20%
0.20% chance of exploitation in the next 30 days, higher than 10.2% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Radare2 and compare its version with the affected versions.
Update to a fixed version
- Update Radare2 to 6.2.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| radare Radare2 | < 6.2.0 |
| radareorg Radare2 | < 6.2.0 |
Frequently asked questions
Is CVE-2026-81878 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-81878?
CVE-2026-81878 has a CVSS 3.1 base score of 5.5 (medium).
Which versions are affected?
Radare Radare2 (< 6.2.0), Radareorg Radare2 (< 6.2.0)
Is there a patch for CVE-2026-81878?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0(Patch)
- github.com/radareorg/radare2/issues/26222(Exploit, Mitigation, Vendor Advisory)
- github.com/radareorg/radare2/pull/26177(Patch)
- github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3(Patch, Vendor Advisory)
- github.com/radareorg/radare2/releases/tag/6.2.0(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.