CVE-2022-34502 Memory corruption in n/a

Medium 5.5 Published Updated

Attackers can cause a denial of service in Radare2 by providing a crafted binary file that triggers a heap buffer overflow.

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-2022-34502?

CVE-2022-34502 is a medium-severity memory corruption vulnerability in Radare Radare2, published on 22 Jul 2022. 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 v5.7.0 was discovered to contain a heap buffer overflow via the function consume_encoded_name_new at format/wasm/wasm.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted binary file.

Weakness: CWE-787

Which versions are affected by CVE-2022-34502?

It affects 1 product.

Linux distribution packages (1)
radare2 openSUSE:TumbleweedAll versions5.7.8-1.1

Products include Radare Radare2.

How do I fix CVE-2022-34502?

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-2022-34502 being exploited?

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

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-g5m8-xjcv-r596, UBUNTU-CVE-2022-34502, openSUSE-SU-2024:12521-1.

Is CVE-2022-34502 in your software?

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

Check your SBOMs for free