Process crash via unchecked SH decode index
Published Aug 20, 2026 · Updated Aug 20, 2026
Out-of-bounds read in Capstone before 6.0.0-Alpha10 allows attackers to crash applications via crafted SH2A or SH4A bytecode. In arch/SH/SHDisassembler.c, sh_disassemble() derives idx from a raw 16-bit instruction and tests decode[idx] without verifying that the index is valid for the active mode-specific function-pointer table. Reachability requires an application to expose cs_disasm() or cs_disasm_iter() on untrusted input with CS_ARCH_SH and SH2A or SH4A plus SHFPU enabled; published material demonstrates a segmentation fault, not code execution or data disclosure.
Summary
What happened
Out-of-bounds read in Capstone before 6.0.0-Alpha10 allows attackers to crash applications via crafted SH2A or SH4A bytecode. In arch/SH/SHDisassembler.c, sh_disassemble() derives idx from a raw 16-bit instruction and tests decode[idx] without verifying that the index is valid for the active mode-specific function-pointer table. Reachability requires an application to expose cs_disasm() or cs_disasm_iter() on untrusted input with CS_ARCH_SH and SH2A or SH4A plus SHFPU enabled; published material demonstrates a segmentation fault, not code execution or data disclosure.
The record
- CVE
- CVE-2026-55894
- Published
- Aug 20, 2026
- Updated
- Aug 20, 2026
- Vendor
- Capstone Engine
- Product
- Capstone
- Classifications
- CWE-125, T1499
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 20, 2026CVE publishedPublication date reported by the CVE source.
- Aug 20, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.0.0-Alpha10
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA-gf2c-xwcp-hvf4 sh_oob_read_poc.cproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo