CVE-2025-67873 Details
Description
Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.
A heap buffer overflow vulnerability has been identified in the Capstone disassembly framework, specifically in versions through 6.0.0-Alpha5. The issue arises because the length of user-provided skipdata is not properly bounds-checked. This allows a skipdata callback to manipulate the disassembly functions 'cs_disasm' and 'cs_disasm_iter' to copy more than 24 bytes into 'cs_insn.bytes', which is a fixed-size array. The overflow occurs in the disassembly path, where the extra bytes can overwrite adjacent heap memory.
Users should update to the patched version of Capstone, which is available in the official GitHub repository.
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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg | CISA-ADP | ExploitVendor Advisory |
| https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3 | [email protected] | Patch |
| https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [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] |