radareorg.radare2 is vulnerable to Integer Overflow
33
Low Risk
Affected versions of this package contain an integer overflow in the cmd_anal_opcode function used by the hexpairs opcode analysis command in libr/core/cmd_anal.inc.c. A crafted opcode count is cast and multiplied without validating its upper bound, so the size calculation wraps and yields an undersized allocation or out-of-range index. Processing such input corrupts internal counters and can crash radareorg.radare2. The patch adds explicit bounds validation before narrowing the count.
You are affected if you are using a version that falls within the vulnerable range and run the aos opcode-analysis command with a large or externally influenced opcode count.
radareorg.radare2 is vulnerable to Integer Overflow in versions 0.9.4 - 6.1.6.
Upgrade the radareorg.radare2 library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant