Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-1240— Heap buffer overflow in libr/bin/format/mach0/mach0.c in radareorg/radare2

Quick assessment

Affected
radareorg radareorg/radare2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

radare2是一套用于处理二进制文件的库和工具。 radare2 存在安全漏洞,该漏洞源于如果在编译期间禁用了地址清理程序,程序应该执行到r_str_ncpy函数。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.74% · P52

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-1240

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Heap buffer overflow in libr/bin/format/mach0/mach0.c in radareorg/radare2
Source: CVE Program / CVE List V5
Vulnerability Description
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).
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
radare2 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
radare2是一套用于处理二进制文件的库和工具。 radare2 存在安全漏洞,该漏洞源于如果在编译期间禁用了地址清理程序,程序应该执行到r_str_ncpy函数。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
radareorg radareorg/radare2 unspecified ~ 5.8.6 -

II. Public POCs for CVE-2022-1240

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-1240

登录查看更多情报信息。

Patches & Fixes for CVE-2022-1240 (1)

Vendor Advisories for CVE-2022-1240 (1)

Same Patch Batch · radareorg · 2022-04-06 · 3 CVEs total

CVE-2022-1237 Improper Validation of Array Index in radareorg/radare2
CVE-2022-1238 Out-of-bounds Write in libr/bin/format/ne/ne.c in radareorg/radare2

IV. Related Vulnerabilities

V. Comments for CVE-2022-1240

No comments yet


Leave a comment