CVE-2024-29645
NoneCVSS
—
EPSS
0.2%
Published
Dec 2, 2024
CISA due date
—
Cloudanix analysis
A bug in a popular code-analysis program could let attackers take over the computer when it processes certain files.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Full Compromise
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Buffer overflow in the parse_die function permits an attacker to overwrite memory and execute arbitrary code.
Why it matters to the business
Attackers could gain control of systems running the affected reverse-engineering tool, potentially leading to data theft, malware deployment, or further network compromise; the issue has been public for many months with a fixed version available.
How an attack unfolds
An attacker supplies a specially crafted binary or debug information file that reaches the parse_die function, triggering the buffer overflow and allowing shellcode execution in the context of the radare2 process.
How to fix it
Upgrade radareorg/radare2 to the commit 72bf3a486fa851797aa21887a40ba0e3d3a6d620 or later; rebuild and redeploy any dependent tooling or containers.
How to confirm the fix worked
Confirm the installed version reports a commit newer than 72bf3a486fa851797aa21887a40ba0e3d3a6d620; re-test parsing of known trigger files to verify the crash no longer occurs.
Typical attack path
- Locate or obtain a target system running radare2 5.8.8 or earlier
- Prepare a malicious input file designed to overflow the parse_die buffer
- Open the file with radare2, causing the vulnerable function to be invoked
- Leverage the resulting memory corruption to execute attacker-controlled code
How to detect it
Review radare2 process crash logs and core dumps for signs of memory corruption near parse_die; inspect command history or automation logs for unexpected file loads after the vulnerability disclosure date.
What your security team should do
- Immediately update all radare2 installations to the fixed commit
- Scan build pipelines and developer workstations for the vulnerable version
- Restrict use of untrusted binaries with radare2 until patched
- Monitor for any new public exploit code targeting this function
The record
Buffer Overflow vulnerability in radarorg radare2 v.5.8.8 allows an attacker to execute arbitrary code via the parse_die function.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | radare2 | 0 | 5.9.0+dfsg-1 |
| Mageia:9 | radare2 | 0 | 5.8.8-1.4.mga9 |
| SUSE:Package Hub 15 SP5 | radare2 | 0 | 5.9.8-bp155.2.3.1 |
| SUSE:Package Hub 15 SP6 | radare2 | 0 | 5.9.8-bp156.4.3.1 |
| Ubuntu:16.04:LTS | radare2 | 0 | No fix |
| Ubuntu:18.04:LTS | radare2 | 0 | No fix |
| Ubuntu:20.04:LTS | radare2 | 0 | No fix |
| Ubuntu:24.04:LTS | radare2 | 0 | No fix |
| Ubuntu:24.10 | radare2 | 0 | No fix |
| Ubuntu:25.04 | radare2 | 0 | No fix |
| Ubuntu:25.10 | radare2 | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | radare2 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | radare2 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | radare2 | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | radare2 | 0 | No fix |
| openSUSE:Leap 15.5 | radare2 | 0 | 5.9.8-bp155.2.3.1 |
| openSUSE:Leap 15.6 | radare2 | 0 | 5.9.8-bp156.4.3.1 |
| openSUSE:Tumbleweed | radare2 | 0 | 5.9.8-1.1 |
Related vulnerabilities
- CVE-2024-29646 Buffer Overflow vulnerability in radarorg radare2 v.5.8.8 allows an attacker to execute… Also affects radare2
- CVE-2024-11858 A flaw was found in Radare2, which contains a command injection vulnerability caused by… Also affects radare2
- CVE-2024-48241 An issue in radare2 v5.8.0 through v5.9.4 allows a local attacker to cause a denial of… Also affects radare2
- CVE-2024-26475 An issue in radareorg radare2 v.0.9.7 through v.5.8.6 and fixed in v.5.8.8 allows a local… Also affects radare2
- CVE-2015-2305 Integer overflow in the regcomp implementation in the Henry Spencer BSD regex library… Also affects radare2
- CVE-2024-56737 GNU GRUB (aka GRUB2) through 2.12 has a heap-based buffer overflow in fs/hfs.c via… Also affects radare2
- CVE-2026-8695 radare2 6.1.5 contains a use-after-free vulnerability in the gdbr_threads_list() function… Also affects radare2
- CVE-2026-40499 radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB… Also affects radare2