OSV-2021-1786 Segv on unknown address in r_buf_free

Not scored Published

A segmentation fault in the buffer free function can cause a denial of service when processing malformed binary files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2021-1786?

OSV-2021-1786 is a memory corruption vulnerability in radare2, published on 31 Dec 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43092

Crash type: Segv on unknown address
Crash state:
r_buf_free
destroy
r_bin_file_free

Which versions are affected by OSV-2021-1786?

1 open source package ship an affected version, including radare2.

PackageAffectedFixed in
radare2 OSS-FuzzAll versionsNone

How do I fix OSV-2021-1786?

No fix has been published for OSV-2021-1786 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 OSV-2021-1786 being exploited?

There is no known exploitation of OSV-2021-1786 in the wild and no public exploit code.

Sources

Is OSV-2021-1786 in your software?

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

Check your SBOMs for free