What’s Vulnerable › Vulnerabilities
CVE-2022-1649: Null pointer dereference in libr/bin/format/mach0/mach0.c in radareorg/radare2 in radareorg/radare2
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-10 · updated 2026-06-17
- Weakness: CWE-476
Description
Null pointer dereference in libr/bin/format/mach0/mach0.c in radareorg/radare2 in GitHub repository radareorg/radare2 prior to 5.7.0. It is likely to be exploitable. For more general description of heap buffer overflow, see [CWE](https://cwe.mitre.org/data/definitions/476.html).
Affected products
- radareorg/radare2: before 5.7.0 — fixed in 5.7.0
How to fix
Upgrade to a fixed version: radareorg/radare2 5.7.0. Check the vendor advisory for mitigations.
References
- https://github.com/radareorg/radare2/commit/a5aafb99c3965259c84ddcf45a91144bf7eb4cf1
- https://huntr.dev/bounties/c07e4918-cf86-4d2e-8969-5fb63575b449
- https://github.com/radareorg/radare2/commit/a5aafb99c3965259c84ddcf45a91144bf7eb4cf1
- https://huntr.dev/bounties/c07e4918-cf86-4d2e-8969-5fb63575b449
Get alerted when CVE-2022-1649 or the next vulnerability affects your stack