CVE-2022-1240

published 6 Apr 2022 · updated 2 Aug 2024

Heap buffer overflow in libr/bin/format/mach0/mach0.c in radareorg/radare2

7.6HighCVSS 7.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.8.6.

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).

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
radareorg<5.8.65.8.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1240 severity on Zeptric[![CVE-2022-1240](https://zeptric.io/badge/cve/CVE-2022-1240.svg)](https://zeptric.io/cve/CVE-2022-1240)