Critical severity · published Dec 17, 2025
CVE-2025-68114
Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
9.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 10% 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
Affected product
CA
capstone
capstone-engine
More from capstone
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.8
CVE-2025-67873
Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow
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