CVE-2017-16357 Memory corruption in n/a

High 7.8 Published Updated

An attacker can trigger memory corruption via invalid free in radare2 when processing malicious ELF files, potentially leading to code execution or crashes.

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
None listed

What is CVE-2017-16357?

CVE-2017-16357 is a high-severity memory corruption vulnerability in Radare Radare2, published on 1 Nov 2017. 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

In radare 2.0.1, a memory corruption vulnerability exists in store_versioninfo_gnu_verdef() and store_versioninfo_gnu_verneed() in libr/bin/format/elf/elf.c, as demonstrated by an invalid free. This error is due to improper sh_size validation when allocating memory.

Weakness: CWE-119

Which versions are affected by CVE-2017-16357?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2017-16357?

No fix has been published for CVE-2017-16357 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2017-16357 being exploited?

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

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-v5w7-wrm9-wj54.

Is CVE-2017-16357 in your software?

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

Check your SBOMs for free