Stack-buffer-overflow in io_memory_read in radare2

radare2 Updated 02 Oct 2025

Summary

27/11/2023
HIGH
Yes i
High
Not published

OSV-2023-1227: Stack-buffer-overflow in io_memory_read. Affects radare2 across 2 version ranges.

>= b647b7d367d6f03d18b870cfcde2a015387c375e, < c7e91db654127765a2d2238752ce76a836b55e02 < fc79e134fa1ebafc00849f129d9a5337c725344c

Fixed in c7e91db654127765a2d2238752ce76a836b55e02. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

radare2 is an open-source framework for reverse engineering and analyzing binary files. It provides a set of tools and libraries for disassembling, debugging, and analyzing executables. The io_memory_read function in radare2 is responsible for reading data from memory. However, a stack-buffer-overflow vulnerability has been identified in this function.

Vulnerability Detail

The stack-buffer-overflow vulnerability in io_memory_read can be triggered when writing more data than the buffer can handle. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or crash the application. The vulnerability was discovered through an OSS-Fuzz report and has been assigned a severity rating of HIGH. The affected version of radare2 is b647b7d367d6f03d18b870cfcde2a015387c375e.

How To Fix

Minimum fixed version

c7e91db654127765a2d2238752ce76a836b55e02

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 currently no known workaround for this vulnerability. It is crucial to update radare2 to the patched version as soon as possible.

Conclusion

In conclusion, a stack-buffer-overflow vulnerability has been identified in the io_memory_read function of radare2. This vulnerability can lead to memory corruption and potential code execution or application crashes. It is highly recommended to update radare2 to the latest version that includes the fix for this vulnerability. For further support on vulnerability remediation, you can 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 tools and libraries for disassembling, debugging, and analyzing executables.

The stack-buffer-overflow vulnerability in io_memory_read can lead to memory corruption and potentially allow an attacker to execute arbitrary code or crash the application.

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

This vulnerability has been assigned a severity rating of HIGH.

There is currently no known workaround for this vulnerability. It is crucial to update radare2 to the patched version as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for radare2.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

c7e91db654127765a2d2238752ce76a836b55e02

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