OSV-2022-993 Stack-use-after-return in check_buffer

Not scored Published

A stack-use-after-return vulnerability in the binary analysis library allows attackers to cause crashes or potentially execute code via crafted 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-2022-993?

OSV-2022-993 is an use after free vulnerability in radare2, published on 29 Sep 2022.

Official description

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

Crash type: Stack-use-after-return READ 1
Crash state:
check_buffer
r_bin_get_binplugin_by_buffer
r_bin_file_new_from_buffer

Which versions are affected by OSV-2022-993?

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

PackageAffectedFixed in
radare2 OSS-FuzzAll versionsNone

How do I fix OSV-2022-993?

No fix has been published for OSV-2022-993 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2022-993 being exploited?

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

Sources

Is OSV-2022-993 in your software?

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

Check your SBOMs for free