CVE-2026-81884 radare2: Heap out-of-bounds read in radare2 Mach-O LC_DATA_IN_CODE parser
An attacker can cause a denial of service in radare2 by opening a crafted Mach-O file with verbose mode enabled, triggering a heap out-of-bounds read.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-81884?
CVE-2026-81884 is a low-severity memory corruption vulnerability in Radare Radare2, published on 22 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's Mach-O LC_DATA_IN_CODE parser was vulnerable because the Mach-O LC_DATA_IN_CODE parser trusted dataoff and datasize and allowed a final partial record to be processed. The vulnerability is triggered by opening a crafted Mach-O file while the non-default bin.verbose option is enabled. When datasize was not a multiple of data_in_code_entry, the last iteration read beyond the allocated buffer. This can cause a heap out-of-bounds read and possible process termination; no attacker-observable memory disclosure has been demonstrated. This issue is fixed in version 6.2.0.
Weakness: CWE-125
Which versions are affected by CVE-2026-81884?
It affects 1 product.
Products include Radare Radare2.
How do I fix CVE-2026-81884?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-81884 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-81884 exists.
Other vulnerabilities in Radare Radare2
Sources
Also known as GHSA-c2g2-2mc7-3x5w, UBUNTU-CVE-2026-81884.