CVE-2026-81878 json
radare2: Integer overflow causes heap out-of-bounds write in radare2 PYC parser
published 3mo ago modified last mo. also EUVD-2026-84503 , GHSA-9phv-v2w8-56j3
Unreviewed: the maintainers' own advisory
Published by the maintainers on their GitHub repository radareorg/radare2. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- radare radare2 6.2.0
- radare2 openSUSE Leap 16.0 6.2.2-bp160.1.1
opensuse advisories openSUSE-SU-2026:21988-1
Is CVE-2026-81878 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-81878 updated cvss 5.5
radare2: radare2: Heap out-of-bounds write via crafted PYC file
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/radareorg/radare2/issues/26222 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- radareorg radare2
Classification
References
-
github.com
/radareorg/radare2/pull/26177
patch
-
github.com
/radareorg/radare2/commit/6727454b666b28c33837b219a5f91136461357c0
patch
-
github.com
/radareorg/radare2/security/advisories/GHSA-9phv-v2w8-56j3
patch, vendor-advisory, advisory
-
github.com
/radareorg/radare2/issues/26222
exploit, mitigation, vendor-advisory
-
github.com
/radareorg/radare2/releases/tag/6.2.0
release-notes
Sources
- CVE List CVE-2026-81878
- NVD CVE-2026-81878
- Maintainer advisory GHSA-9phv-v2w8-56j3
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of radareorg/radare2 published their own advisory on GitHub. Reviewed sources take precedence over it.