CVE-2026-81878
Last modified
CVE-2026-81878 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Radare | Radare2 | < 6.2.0 |
References
- https://github.com/radareorg/radare2/issues/26222Exploit, Mitigation, Vendor Advisory
- https://github.com/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3Patch, Vendor Advisory
- https://github.com/radareorg/radare2/issues/26222Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-81878?
How severe is CVE-2026-81878?
How do I fix CVE-2026-81878?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-8187A flaw has been found in Open5GS up to 2.7.7. This impacts t…7.5
- CVE-2026-81870OpenTelemetry-Go is the Go implementation of OpenTelemetry. …2
- CVE-2026-81871OpenTelemetry-Go is the Go implementation of OpenTelemetry. …6.3
- CVE-2026-81872OpenTelemetry-Go is the Go implementation of OpenTelemetry. …6.3
- CVE-2026-81875HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-81876HAPI FHIR is a complete implementation of the HL7 FHIR stand…7.5
- CVE-2026-81879radare2 is a UNIX-like reverse engineering framework and com…6.1
- CVE-2026-8188A vulnerability has been found in Wavlink NU516U1 M16U1_V240…8.8
- CVE-2026-81880radare2 is a UNIX-like reverse engineering framework and com…5.5
- CVE-2026-81881radare2 is a UNIX-like reverse engineering framework and com…4.4
- CVE-2026-81882radare2 is a UNIX-like reverse engineering framework and com…6.1
- CVE-2026-81883radare2 is a UNIX-like reverse engineering framework and com…3.3
Are you affected by CVE-2026-81878?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
