High severity · published Dec 17, 2025
CVE-2025-67873
Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow
7.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 14% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
capstone · capstone-engine
<= 6.0.0-Alpha5 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-67873
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-67873
Patch
https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3
Exploit
https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg
More from capstone
9.8
CVE-2025-68114
Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
8.8
CVE-2017-6952
Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4 and earlier allows attackers to cause a denial of service (heap-based buffer overflow in a…
7.3
CVE-2026-55893
Capstone SH disassembler `set_reg_n` heap buffer overflow via crafted SH2A FPU bytecode
6.8
CVE-2026-55894
Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode
5.9
CVE-2026-47143
Capstone has a NULL Pointer Dereference with 3DNow! opcodes
