Intel

AIKIDO-2026-950036

radareorg.radare2 is vulnerable to Out-of-bounds Read

Out-of-bounds ReadGHSA-q4w7-225g-64j9 Published Aug 13, 2026

33

Low Risk

This Affects:

C++radareorg.radare2
5.7.0 - 6.1.8
Fixed in 6.2.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain a heap out-of-bounds read in the Mach-O Swift field-metadata parser. The parser computes an index by subtracting the metadata-section base from an externally controlled relative pointer without checking that the pointer is within range, producing a negative index. A crafted Swift Mach-O file causes a read just before the allocated buffer, leading to incorrect processing or a crash. The patch validates the pointer range and uses verified unsigned indices before accessing the buffer.

Who does this affect?

You are affected if you use an affected version of radare2 or rabin2 to analyze an untrusted Swift Mach-O file. Parsing crafted Swift type/class metadata triggers the out-of-bounds read locally; no network exposure is required.

Background info

radareorg.radare2 is vulnerable to Out-of-bounds Read in versions 5.7.0 - 6.1.8.

How to fix this

Upgrade the radareorg.radare2 library to the patch version.