Critical Memory Corruption and Buffer Overflow Vulnerabilities in Capstone Disassembly Framework

capstone Updated 09 Apr 2026

Summary

09/04/2026
N/A
Yes i
High
7.3

RLSA-2026:6817: Important: capstone security update. Affects capstone versions < 0:5.0.1-7.el10_1. Fixed in 0:5.0.1-7.el10_1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Capstone is a widely used disassembly framework designed for binary analysis and reverse engineering within the security community. It provides a powerful and flexible API for disassembling machine code into human-readable assembly instructions, making it an essential tool for security researchers and developers. However, recent vulnerabilities have been identified that could compromise the integrity and security of applications utilizing this framework.

Vulnerability Detail

The vulnerabilities in Capstone stem from two critical issues: first, a memory corruption vulnerability caused by unchecked return values from the vsnprintf function (CVE-2025-68114), which can lead to unpredictable behavior and potential data corruption. Second, a heap buffer overflow vulnerability in the skipdata callback (CVE-2025-67873) allows an attacker to exploit the framework, leading to denial of service or arbitrary code execution. These vulnerabilities can be exploited by malicious actors to execute arbitrary code or crash applications that rely on Capstone for disassembly.

How To Fix

Minimum fixed version

0:5.0.1-7.el10_1

This is the first release that contains the fix.

sudo dnf update capstone

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

Workaround

As a temporary workaround, users can limit the use of the affected features in Capstone until the package is updated. It is advisable to avoid using the skipdata callback functionality until the patch is applied.

Conclusion

In summary, the Capstone disassembly framework has critical vulnerabilities that could lead to severe security risks if not addressed. Users are strongly encouraged to update to the latest patched version to ensure their applications remain secure. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for capstone →

Share this vulnerability

FAQ

Capstone is a disassembly framework that converts machine code into human-readable assembly instructions, widely used for binary analysis and reverse engineering.

The main vulnerabilities include a memory corruption issue due to unchecked vsnprintf return values and a heap buffer overflow in the skipdata callback.

Exploitation of these vulnerabilities can lead to denial of service or arbitrary code execution, potentially compromising the security of your application.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground without needing to sign up.

The CVSS score for these vulnerabilities is 7.3, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for capstone.

How To Fix

Minimum fixed version

0:5.0.1-7.el10_1

This is the first release that contains the fix.

sudo dnf update capstone

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