CVEfocus › CVE database › CVE-2026-55894

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

CVSS 6.8 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-08-20Updated 2026-08-21Assigner: GitHub_M

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.

CWE-125

What to do

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10capstoneFix pendingUBUNTU-CVE-2026-55894
Ubuntu 26.04capstoneUnder investigationUBUNTU-CVE-2026-55894
Ubuntu 24.04capstoneUnder investigationUBUNTU-CVE-2026-55894
Ubuntu 22.04capstoneUnder investigationUBUNTU-CVE-2026-55894
Ubuntu 20.04capstoneFix pendingUBUNTU-CVE-2026-55894
Ubuntu 18.04capstoneFix pendingUBUNTU-CVE-2026-55894
Ubuntu 16.04capstoneFix pendingUBUNTU-CVE-2026-55894
Debian 14capstoneFix pendingDEBIAN-CVE-2026-55894
Debian 13capstoneFix pendingDEBIAN-CVE-2026-55894
Debian 12capstoneFix pendingDEBIAN-CVE-2026-55894
Red Hat Enterprise Linux 10capstoneFix pending
Fix deferred
Red Hat Enterprise Linux 10capstone-develFix pending
Fix deferred
Red Hat Enterprise Linux 10capstone-javaFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-capstoneFix pending
Fix deferred
Red Hat Enterprise Linux 9capstoneFix pending
Fix deferred
Red Hat Enterprise Linux 9capstone-develFix pending
Fix deferred
Red Hat Enterprise Linux 9capstone-javaFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-capstoneFix pending
Fix deferred

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.