Out-of-bounds Write Affecting radare2 package, versions <5.9.0+dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-RADARE2-6814940
  • published8 May 2024
  • disclosed6 Apr 2022

Introduced: 6 Apr 2022

CVE-2022-1240  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:13 radare2 to version 5.9.0+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream radare2 package and not the radare2 package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Scores

version 3.1