7.8
CWE
787 122 119
Advisory Published
Updated

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

First published: Wed Apr 06 2022(Updated: )

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

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
Radare Radare2<=5.6.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2022-1240.

  • What is the severity of CVE-2022-1240?

    The severity of CVE-2022-1240 is high (7.8).

  • Which software is affected by CVE-2022-1240?

    The software affected by CVE-2022-1240 is Radare Radare2 version up to 5.6.6.

  • What can happen if address sanitizer is disabled in the compiling process?

    If address sanitizer is disabled during the compiling process, a heap buffer overflow can occur.

  • Is CVE-2022-1240 likely to be exploitable?

    Yes, CVE-2022-1240 is likely to be exploitable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203