Heap-buffer-overflow in r_read_le32 in radare2

radare2 Updated 02 Oct 2025

Summary

01/07/2020
MEDIUM
Yes i
Medium
Not published

OSV-2020-357: Heap-buffer-overflow in r_read_le32. Affects radare2 versions >= b022c9533482a8f1c9ae825ced5c1a3e251837d9, < 55ec5cc1938fba3c506e87c5314630f1f0736a15. Fixed in 55ec5cc1938fba3c506e87c5314630f1f0736a15. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Radare2 is an open-source framework for reverse engineering and analyzing binary files. It provides a set of command-line tools and libraries that allow users to perform various tasks such as disassembling, debugging, and analyzing binary files. The vulnerability in question, identified as OSV-2020-357, is a heap-buffer-overflow vulnerability that affects the r_read_le32 function in radare2.

Vulnerability Detail

The heap-buffer-overflow vulnerability in r_read_le32 can lead to a crash due to a read of more data than is available in the buffer. This vulnerability can potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service condition. The vulnerability was discovered through an OSS-Fuzz report and has a medium severity rating.

How To Fix

Minimum fixed version

55ec5cc1938fba3c506e87c5314630f1f0736a15

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.

Conclusion

The heap-buffer-overflow vulnerability in r_read_le32 in radare2 can potentially be exploited by attackers to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the radare2 package to a version that includes the fix to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for radare2 →

Share this vulnerability

FAQ

Radare2 is an open-source framework for reverse engineering and analyzing binary files. It provides a set of command-line tools and libraries.

A heap-buffer-overflow vulnerability occurs when a program reads or writes data beyond the bounds of a buffer allocated in the heap. This can lead to crashes, code execution, or other security issues.

This vulnerability was discovered through an OSS-Fuzz report, which is a continuous fuzzing service for open-source software.

This vulnerability has a medium severity rating.

No, there is no known workaround for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.

Related vulnerabilities

Recent vulnerabilities recorded for radare2.

How To Fix

Minimum fixed version

55ec5cc1938fba3c506e87c5314630f1f0736a15

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback