CVE-2022-1238 Out-of-bounds Write in libr/bin/format/ne/ne.c in radareorg/radare2

High 7.6 Published Updated

An out-of-bounds write in radare2 allows attackers to execute arbitrary code via a crafted NE binary file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-1238?

CVE-2022-1238 is a high-severity memory corruption vulnerability in Radare Radare2, published on 6 Apr 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Out-of-bounds Write in libr/bin/format/ne/ne.c in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability is heap overflow and may be exploitable. For more general description of heap buffer overflow, see [CWE](https://cwe.mitre.org/data/definitions/122.html).

Weakness: CWE-787

Which versions are affected by CVE-2022-1238?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2022-1238?

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-1238 being exploited?

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

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-qm57-rv98-r7ch, UBUNTU-CVE-2022-1238.

Is CVE-2022-1238 in your software?

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

Check your SBOMs for free