Live threats

All CVEs / Radare

CVE-2022-1240Radare2

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 53
Auth required
Yes
Published
Apr 6, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-122, CWE-787
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Heap buffer overflow in libr/bin/format/mach0/mach0.c in GitHub repository radareorg/radare2 prior to 5.8.6. If address sanitizer is disabled during the compiling, the program should executes into the `r_str_ncpy` function. Therefore I think it is very likely to be exploitable. For more general description of heap buffer overflow, see [CWE](https://cwe.mitre.org/data/definitions/122.html).

Original NVD text.

What to do

  1. Apply the vendor's security update for Radare2.

Affected products (CPE)

VendorProductVersions
radareradare2≤ 5.6.6

Official sources

References

Links published by the sources. Open them with care.