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

Low 3.3 Published Updated

An attacker can cause a denial of service in radare2 by providing a crafted Mach-O file that triggers a heap out-of-bounds read in the Swift metadata parser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-81881?

CVE-2026-81881 is a low-severity memory corruption vulnerability in Radare Radare2, published on 22 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-191, CWE-125

Which versions are affected by CVE-2026-81881?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2026-81881?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-81881 being exploited?

There is no known exploitation of CVE-2026-81881 in the wild and no public exploit code.

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-q4w7-225g-64j9, UBUNTU-CVE-2026-81881.

Is CVE-2026-81881 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free