Every CVE Search/ Get API key

CVE-2026-55894

Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode

6.8 MediumFix available

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.19%Up 0.1 points since Aug 21, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.8

Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
CVE-2026-55894
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-125
Updated
2026-11-02
EUVDEUVD-2026-63669 6.8

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
EUVD-2026-63669
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-02
NVD 6.8

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
CVE-2026-55894
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-125
Updated
2026-11-02
OSV 6.8

Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
CVE-2026-55894
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-125
Updated
2026-11-02
OSVDEBIAN-CVE-2026-55894 6.8

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
DEBIAN-CVE-2026-55894
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
OSVRHSA-2026:59419 7.0

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:59419
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-55894 6.8

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
UBUNTU-CVE-2026-55894
CVSS 4.0
6.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-02
OSVAZL-96891 No score

CVE-2026-55894 affecting package capstone 4.0.2-4

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
AZL-96891
Updated
2026-11-05
OSVAZL-97413 No score

CVE-2026-55894 affecting package rust for versions less than 1.96.1-1

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Record
AZL-97413
Updated
2026-11-05

Affected products

Affected packages

Affected packages
PackageAffectedFixed
capstone
Azure Linux:3
through 4.0.2-4 None known
rust
Azure Linux:3
1.85.0 up to 1.96.1-1
1.96.1-1
capstone
Alpaquita:23
4.0.2-r5 and later None known
capstone
Alpaquita:25
5.0.6-r0 and later None known
capstone
Alpaquita:stream
4.0.2-r5 and later None known
capstone
Debian:12
All versions, plus listed versions
4.0.2-54.0.2-5.15.0-1~exp15.0.1-1~exp15.0.3-1
Show 6 moreShow less
5.0.5-15.0.6-15.0.7-15.0.7-1~deb13u15.0.7-25.0.9-1
None known
capstone
Debian:13
All versions, plus listed versions
5.0.6-15.0.7-15.0.7-1~deb13u15.0.7-25.0.9-1
None known
capstone
Debian:14
All versions, plus listed versions
5.0.6-15.0.7-15.0.7-1~deb13u15.0.7-25.0.9-1
None known
capstone
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:5.0.8-0.3.hum1
0:5.0.8-0.3.hum1
capstone-devel
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:5.0.8-0.3.hum1
0:5.0.8-0.3.hum1
Show 10 moreShow less
Affected packages
PackageAffectedFixed
capstone-java
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:5.0.8-0.3.hum1
0:5.0.8-0.3.hum1
capstone-static
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:5.0.8-0.3.hum1
0:5.0.8-0.3.hum1
python3-capstone
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:5.0.8-0.3.hum1
0:5.0.8-0.3.hum1
capstone
Ubuntu:16.04:LTS
All versions, plus listed versions
3.0.4-0.13.0.4-0.2
None known
capstone
Ubuntu:18.04:LTS
All versions, plus listed versions
3.0.4-33.0.4-5
None known
capstone
Ubuntu:20.04:LTS
All versions, plus listed versions
4.0.1+really+3.0.5-14.0.1+really+3.0.5-1build1
None known
capstone
Ubuntu:22.04:LTS
All versions, plus listed versions
4.0.2-34.0.2-3build14.0.2-5
None known
capstone
Ubuntu:24.04:LTS
All versions, plus listed versions
4.0.2-54.0.2-5ubuntu14.0.2-5.14.0.2-5.1build1
None known
capstone
Ubuntu:26.10
All versions, plus listed versions
5.0.7-25.0.9-1
None known
capstone
Ubuntu:26.04:LTS
All versions, plus listed versions
5.0.6-15.0.6-1build15.0.7-2
None known

History

History
RecordedChangedSources
affected
factsOSV
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-55894 is a medium vulnerability (CVSS 6.8) in Capstone-engine Capstone, published August 20, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.19%, the 9th percentile. Fixed in rust 1.96.1-1.

References

Show 17 moreShow less
MoveEnter Open