CVE-2025-67873: capstone · Heap-based Buffer Overflow
Affects capstoneSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 17 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubcapstone-engine/capstonepkg:github/capstone-engine/capstoneOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade capstone to a version later than 6.0.0-Alpha5 that includes the fix from commit cbef767ab33b82166d263895f24084b75b316df3. 2. If upgrading is not immediately possible, apply the patch manually to enforce bounds checking on skipdata length in the skipdata callback. 3. Restrict local access to systems running capstone-based tools to trusted users only, minimizing the risk of exploitation by unprivileged users. 4. Implement strict user account controls and monitor for unusual user activity that might indicate attempts to exploit the vulnerability. 5. Employ application whitelisting and integrity monitoring on security analysis tools to detect unauthorized modifications or crashes. 6. Conduct regular security audits of software dependencies, especially those used in critical analysis workflows, to ensure timely patching of vulnerabilities. 7. Educate security analysts and developers about the risks of using vulnerable versions and encourage best practices in handling third-party libraries. 8. Consider sandboxing or isolating disassembly processes to limit the impact of potential memory corruption.
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.