CVE-2025-68114 Details
Description
Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, an unchecked vsnprintf return in SStream_concat lets a malicious cs_opt_mem.vsnprintf drive SStream’s index negative or past the end, leading to a stack buffer underflow/overflow when the next write occurs. Commit 2c7797182a1618be12017d7d41e0b6581d5d529e fixes the issue.
A vulnerability exists in the Capstone disassembly framework, specifically in versions through 6.0.0-Alpha5. The issue arises from an unchecked return value of vsnprintf in the SStream_concat function, which allows a maliciously crafted vsnprintf return to manipulate the SStream index. This manipulation can drive the index negative or beyond the buffer's end, causing a stack buffer underflow or overflow during subsequent writes. The vulnerability can be exploited by any embedding that permits untrusted code to modify Capstone's memory handling options, particularly through the cs_option function.
Users can update to Capstone version 6.0.0-Alpha6 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
| CWE-124 | Buffer Underwrite ('Buffer Underflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| capstone-engine capstone | < 6.0.0 6.0.0 alpha1 6.0.0 alpha2 6.0.0 alpha3 6.0.0 alpha4 6.0.0 alpha5 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 2, 2026 | Initial Analysis | [email protected] |
| Dec 18, 2025 | CVE Modified | CISA-ADP |
| Dec 17, 2025 | New CVE Received | [email protected] |