Critical Security Flaw in Capstone Disassembly Framework: Memory Corruption and Buffer Overflow

capstone Updated 24 Mar 2026

Summary

18/03/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:4898: Important: capstone security update. Affects capstone versions < 4.0.2-11.el9_7. Fixed in 4.0.2-11.el9_7. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Capstone is a widely used disassembly framework designed for binary analysis and reverse engineering, particularly within the security community. It provides a powerful API for developers to analyze binary code, making it a crucial tool for security researchers and software developers. However, recent vulnerabilities have raised concerns about its security, particularly regarding memory corruption and buffer overflow issues that could lead to severe consequences.

Vulnerability Detail

The vulnerabilities identified in Capstone include a memory corruption issue due to unchecked vsnprintf return (CVE-2025-68114) and a heap buffer overflow via the skipdata callback, which could allow for denial of service or arbitrary code execution (CVE-2025-67873). These vulnerabilities stem from improper handling of memory operations, which can be exploited by attackers to execute malicious code or crash the application, posing significant risks to systems utilizing Capstone.

How To Fix

Minimum fixed version

4.0.2-11.el9_7

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 measure, you can restrict the use of the affected features in Capstone until the update is applied. However, the best course of action is to update to the patched version as soon as possible to eliminate the vulnerabilities completely.

Conclusion

The vulnerabilities in the Capstone disassembly framework present serious security risks that can lead to memory corruption and arbitrary code execution. It is crucial for users to update to the latest patched version to protect their systems. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time, ensuring better security practices.

See every vulnerability recorded for capstone →

Share this vulnerability

FAQ

The main vulnerabilities include memory corruption due to unchecked vsnprintf return and a heap buffer overflow that can lead to denial of service or arbitrary code execution.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected without any signup.

Exploiting these vulnerabilities can lead to application crashes, unauthorized access, and execution of malicious code, posing significant risks to system integrity.

Yes, a patch is available in version 4.0.2-11.el9_7 of the affected packages. It is recommended to update to this version to mitigate the vulnerabilities.

If an immediate update is not possible, consider restricting the use of the affected features in Capstone until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for capstone.

How To Fix

Minimum fixed version

4.0.2-11.el9_7

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