CVE-2026-81884 PUBLISHED

radare2: Heap out-of-bounds read in radare2 Mach-O LC_DATA_IN_CODE parser

Assigner: GitHub_M
Reserved: 27.08.2026 Published: 22.09.2026 Updated: 22.09.2026

radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's Mach-O LC_DATA_IN_CODE parser was vulnerable because the Mach-O LC_DATA_IN_CODE parser trusted dataoff and datasize and allowed a final partial record to be processed. The vulnerability is triggered by opening a crafted Mach-O file while the non-default bin.verbose option is enabled. When datasize was not a multiple of data_in_code_entry, the last iteration read beyond the allocated buffer. This can cause a heap out-of-bounds read and possible process termination; no attacker-observable memory disclosure has been demonstrated. This issue is fixed in version 6.2.0.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS Score: 2.5

Product Status

Vendor radareorg
Product radare2
Versions
  • Version < 6.2.0 is affected

References

Problem Types

  • CWE-125: Out-of-bounds Read CWE