Skip to main content

Capstone

7 CVEs product

Monthly

CVE-2026-55893 Aug 20, 21:32 HIGH PATCH This Week

Heap buffer overflow in Capstone's SuperH (SH) architecture floating-point disassembler affects all releases through 6.0.0-Alpha9, allowing a four-byte out-of-bounds write into heap memory when processing crafted SH instructions. The root cause is that opFADD, opFMUL, opFSUB, and related SH FPU decoders in arch/SH/SHDisassembler.c increment op_count as an array index into the fixed-size operands[] array without bounds checking, overflowing the 176-byte sh_info heap allocation. A process that disassembles attacker-controlled SH binary data with the affected mode flags can be crashed; code execution is possible but depends on heap layout. No public exploit has been identified at time of analysis, though a proof-of-concept test case is included in the upstream fix PR. The vendor-released patch is version 6.0.0-Alpha10.

RCE Buffer Overflow Heap Overflow Capstone Capstone Engine
NVD GitHub
CVSS 4.0
7.3
EPSS
0.1%
CVE-2026-55894 Aug 20, 21:31 MEDIUM PATCH This Month

Out-of-bounds read in Capstone's SuperH (SH) architecture disassembler crashes the host process when fed crafted SH2A or SH4A bytecode. Versions 6.0.0-Alpha9 and earlier are affected when the library handle is configured with CS_ARCH_SH plus CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU; the disassembler derives an idx value from a raw 16-bit instruction and dereferences a mode-specific decode[] function-pointer table without a bounds check. The demonstrated impact is limited to process termination - no code execution or information disclosure was shown - and a vendor-released patch is available in 6.0.0-Alpha10.

RCE Buffer Overflow Information Disclosure Capstone Capstone Engine
NVD GitHub
CVSS 4.0
6.8
EPSS
0.1%
CVE-2026-49282 Aug 14, 17:44 MEDIUM PATCH This Month

Out-of-bounds read in Capstone's cs_insn_name() public API crashes host processes when the M68K or RISCV architecture backends receive caller-controlled invalid instruction IDs that bypass missing or incomplete bounds checks. Affected are all Capstone deployments prior to 6.0.0-Alpha9 where those two architecture handles are in use and instruction ID input is not sanitized by the calling application. The demonstrated impact is strictly a denial-of-service crash; no code execution or data exfiltration was shown, and no public exploit or active exploitation has been identified at time of analysis.

RCE Buffer Overflow Information Disclosure Capstone Capstone Engine
NVD GitHub VulDB
CVSS 3.1
5.1
EPSS
0.1%
CVE-2017-6952 Mar 16, 21:59 PyPI HIGH PATCH This Week

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 kernel driver) or. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Buffer Overflow Denial Of Service Integer Overflow Capstone Capstone Engine
NVD GitHub
CVSS 3.0
8.8
EPSS
0.3%
CVE-2026-47143 May 27, 22:00 PyPI MEDIUM PATCH This Month

Capstone disassembly framework package in Alpine Linux has been patched at version 5.0.8-r0, addressing an unspecified vulnerability. The nature of the flaw, affected attack surface, and potential impact are not disclosed in available intelligence - only the vendor-reported fix version is confirmed. Security teams using Alpine Linux with the capstone package should treat this as a package-level security update requiring upgrade, pending further vendor disclosure.

Denial Of Service Null Pointer Dereference Capstone Capstone Engine
NVD GitHub
CVSS 3.1
5.9
EPSS
0.1%
CVE-2025-67873 May 27, 22:00 HIGH POC PATCH This Week

Heap-based buffer overflow in the Capstone disassembly framework's skip-data path lets a malformed input corrupt memory in any host application that embeds the library. Exploitation requires the embedding application to have enabled the non-default CS_OPT_SKIPDATA option together with a custom skip-data callback that returns more than the 24-byte cs_insn.bytes buffer, and the victim must then disassemble attacker-supplied bytes that fail to decode; no authentication is required but the attack is local and user-interaction driven (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.8). Publicly available exploit code exists in the form of a regression test shipped with the upstream fix, but there is no KEV-listed active exploitation and EPSS is only 0.01% (3rd percentile), so real-world priority is low; Alpine Linux shipped the fix in capstone 5.0.7-r0.

Buffer Overflow Heap Overflow Capstone Capstone Engine
NVD GitHub
CVSS 3.1
7.8
EPSS
0.0%
CVE-2025-68114 May 27, 22:00 CRITICAL PATCH Act Now

Out-of-bounds read/write in the Capstone disassembly engine's SStream string-formatting path can be triggered when the internal vsnprintf callback returns a negative value, underflowing the SStream index counter and causing subsequent writes to land before the buffer. Affected code spans Capstone releases through the fix plus the 6.0.0 alpha1-alpha5 pre-releases, with the Alpine Linux package corrected in capstone 5.0.7-r0 and the upstream fix landed in commit 2c7797182a1618be12017d7d41e0b6581d5d529e. The NVD base score of 9.8 (AV:N/AC:L/PR:N/UI:N) implies trivial unauthenticated remote code execution, but the corroborating signals contradict that: EPSS is only 0.04% (12th percentile), there is no CISA KEV listing or public exploit code identified at time of analysis, and the authoritative independent assessment rates the vector AV:N/AC:H/PR:N/UI:N because exploitation requires a non-default configuration in which an attacker controls Capstone's memory callbacks via cs_option(CS_OPT_MEM) - or a genuine vsnprintf formatting failure is reached - a narrow practical attack surface.

Buffer Overflow Capstone Capstone Engine
NVD GitHub
CVSS 3.1
9.8
EPSS
0.0%
EPSS 0% CVSS 7.3
HIGH PATCH This Week

Heap buffer overflow in Capstone's SuperH (SH) architecture floating-point disassembler affects all releases through 6.0.0-Alpha9, allowing a four-byte out-of-bounds write into heap memory when processing crafted SH instructions. The root cause is that opFADD, opFMUL, opFSUB, and related SH FPU decoders in arch/SH/SHDisassembler.c increment op_count as an array index into the fixed-size operands[] array without bounds checking, overflowing the 176-byte sh_info heap allocation. A process that disassembles attacker-controlled SH binary data with the affected mode flags can be crashed; code execution is possible but depends on heap layout. No public exploit has been identified at time of analysis, though a proof-of-concept test case is included in the upstream fix PR. The vendor-released patch is version 6.0.0-Alpha10.

RCE Buffer Overflow Heap Overflow +2
NVD GitHub
EPSS 0% CVSS 6.8
MEDIUM PATCH This Month

Out-of-bounds read in Capstone's SuperH (SH) architecture disassembler crashes the host process when fed crafted SH2A or SH4A bytecode. Versions 6.0.0-Alpha9 and earlier are affected when the library handle is configured with CS_ARCH_SH plus CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU; the disassembler derives an idx value from a raw 16-bit instruction and dereferences a mode-specific decode[] function-pointer table without a bounds check. The demonstrated impact is limited to process termination - no code execution or information disclosure was shown - and a vendor-released patch is available in 6.0.0-Alpha10.

RCE Buffer Overflow Information Disclosure +2
NVD GitHub
EPSS 0% CVSS 5.1
MEDIUM PATCH This Month

Out-of-bounds read in Capstone's cs_insn_name() public API crashes host processes when the M68K or RISCV architecture backends receive caller-controlled invalid instruction IDs that bypass missing or incomplete bounds checks. Affected are all Capstone deployments prior to 6.0.0-Alpha9 where those two architecture handles are in use and instruction ID input is not sanitized by the calling application. The demonstrated impact is strictly a denial-of-service crash; no code execution or data exfiltration was shown, and no public exploit or active exploitation has been identified at time of analysis.

RCE Buffer Overflow Information Disclosure +2
NVD GitHub VulDB
EPSS 0% CVSS 8.8
HIGH PATCH This Week

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 kernel driver) or. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Buffer Overflow Denial Of Service Integer Overflow +2
NVD GitHub
EPSS 0% CVSS 5.9
MEDIUM PATCH This Month

Capstone disassembly framework package in Alpine Linux has been patched at version 5.0.8-r0, addressing an unspecified vulnerability. The nature of the flaw, affected attack surface, and potential impact are not disclosed in available intelligence - only the vendor-reported fix version is confirmed. Security teams using Alpine Linux with the capstone package should treat this as a package-level security update requiring upgrade, pending further vendor disclosure.

Denial Of Service Null Pointer Dereference Capstone +1
NVD GitHub
EPSS 0% CVSS 7.8
HIGH POC PATCH This Week

Heap-based buffer overflow in the Capstone disassembly framework's skip-data path lets a malformed input corrupt memory in any host application that embeds the library. Exploitation requires the embedding application to have enabled the non-default CS_OPT_SKIPDATA option together with a custom skip-data callback that returns more than the 24-byte cs_insn.bytes buffer, and the victim must then disassemble attacker-supplied bytes that fail to decode; no authentication is required but the attack is local and user-interaction driven (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.8). Publicly available exploit code exists in the form of a regression test shipped with the upstream fix, but there is no KEV-listed active exploitation and EPSS is only 0.01% (3rd percentile), so real-world priority is low; Alpine Linux shipped the fix in capstone 5.0.7-r0.

Buffer Overflow Heap Overflow Capstone +1
NVD GitHub
EPSS 0% CVSS 9.8
CRITICAL PATCH Act Now

Out-of-bounds read/write in the Capstone disassembly engine's SStream string-formatting path can be triggered when the internal vsnprintf callback returns a negative value, underflowing the SStream index counter and causing subsequent writes to land before the buffer. Affected code spans Capstone releases through the fix plus the 6.0.0 alpha1-alpha5 pre-releases, with the Alpine Linux package corrected in capstone 5.0.7-r0 and the upstream fix landed in commit 2c7797182a1618be12017d7d41e0b6581d5d529e. The NVD base score of 9.8 (AV:N/AC:L/PR:N/UI:N) implies trivial unauthenticated remote code execution, but the corroborating signals contradict that: EPSS is only 0.04% (12th percentile), there is no CISA KEV listing or public exploit code identified at time of analysis, and the authoritative independent assessment rates the vector AV:N/AC:H/PR:N/UI:N because exploitation requires a non-default configuration in which an attacker controls Capstone's memory callbacks via cs_option(CS_OPT_MEM) - or a genuine vsnprintf formatting failure is reached - a narrow practical attack surface.

Buffer Overflow Capstone Capstone Engine
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy