Heap overflow via unchecked SH operand append
Published Aug 20, 2026 · Updated Aug 20, 2026
Heap-based buffer overflow in Capstone before 6.0.0-Alpha10 allows attackers to crash or corrupt memory via crafted SH FPU bytecode. In arch/SH/SHDisassembler.c, SH floating-point decoders such as opFADD and opFMUL append operands through set_reg() and set_reg_n() using sh_info.op.op_count as an array index without checking the fixed-size operands[] array, leading to a four-byte write past the 176-byte sh_info allocation. Reachability requires an application to disassemble untrusted SuperH code with CS_ARCH_SH, SH2A or SH4A plus SHFPU, and CS_OPT_DETAIL enabled; demonstrated impact is process crash, with code execution dependent on heap layout.
Summary
What happened
Heap-based buffer overflow in Capstone before 6.0.0-Alpha10 allows attackers to crash or corrupt memory via crafted SH FPU bytecode. In arch/SH/SHDisassembler.c, SH floating-point decoders such as opFADD and opFMUL append operands through set_reg() and set_reg_n() using sh_info.op.op_count as an array index without checking the fixed-size operands[] array, leading to a four-byte write past the 176-byte sh_info allocation. Reachability requires an application to disassemble untrusted SuperH code with CS_ARCH_SH, SH2A or SH4A plus SHFPU, and CS_OPT_DETAIL enabled; demonstrated impact is process crash, with code execution dependent on heap layout.
The record
- CVE
- CVE-2026-55893
- Published
- Aug 20, 2026
- Updated
- Aug 20, 2026
- Vendor
- Capstone Engine
- Product
- Capstone
- Classifications
- CWE-122, T1203
- 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-3hpv-wr3j-rxwh minimal reproducerproof 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