CVE-2026-81881

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

State
Published
Severity
3.3 Low
Published
Sep 22, 2026
Updated
Sep 22, 2026
Reserved
Aug 27, 2026

Read the record on cve.org

Description

radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's Mach-O Swift field-metadata parser was vulnerable because a relative Swift field pointer could be lower than the field-metadata section base, making subtraction produce a negative logical index. The vulnerability is triggered by parsing Swift type and class metadata from a crafted Mach-O file. The derived index was used to read four bytes immediately before the allocated field-metadata buffer. This can cause incorrect metadata processing or process termination; no attacker-observable memory disclosure has been demonstrated. This issue is fixed in version 6.2.0.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-125 Out-of-bounds Read
  • CWE-191 Integer Underflow (Wrap or Wraparound)

Affected Products

ProductVersions
radare2radareorg
  • < 6.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.