CVE-2024-29646
NoneCVSS
—
EPSS
0.9%
Published
Dec 17, 2024
CISA due date
—
Cloudanix analysis
A flaw in a code analysis program could let attackers run their own programs on your computer if you open certain files with it.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A buffer overflow in the handling of name, type, or group fields allows an attacker to overwrite memory and execute arbitrary code.
Why it matters to the business
Attackers could gain control of systems running vulnerable versions of the analysis tool, potentially leading to data theft or further network compromise. Low urgency due to low EPSS score with minimal recent increase and no known exploitation campaigns.
How an attack unfolds
An attacker supplies specially crafted input containing oversized or malformed data in the name, type, or group fields to trigger the buffer overflow and inject shellcode for arbitrary code execution.
How to fix it
Upgrade radare2 to a patched version that resolves the buffer overflow in name, type, and group field handling once released by the project maintainers.
How to confirm the fix worked
Confirm the installed radare2 version is newer than 5.8.8 and test processing of files containing edge-case data in the affected fields without triggering crashes or unexpected behavior.
Typical attack path
- Identify systems using radare2 version 5.8.8
- Craft a malicious file or binary with oversized data in the name, type, or group fields
- Load the crafted file into the vulnerable radare2 instance
- Trigger the buffer overflow to execute arbitrary code on the host
How to detect it
Monitor application logs and system events for radare2 crashes or abnormal memory usage when processing input files; correlate with subsequent suspicious process creation or network activity.
What your security team should do
- Upgrade radare2 immediately upon availability of a fixed release
- Restrict analysis of untrusted binaries with the affected version
- Implement sandboxing for any file analysis workflows using radare2
The record
Buffer Overflow vulnerability in radarorg radare2 v.5.8.8 allows an attacker to execute arbitrary code via the name, type, or group fields.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | radare2 | 0 | 5.9.0+dfsg-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 |
Related vulnerabilities
- CVE-2024-11858 A flaw was found in Radare2, which contains a command injection vulnerability caused by… Also affects radare2
- CVE-2024-29645 Buffer Overflow vulnerability in radarorg radare2 v.5.8.8 allows an attacker to execute… 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