{"id":"CVE-2026-55894","published":"2026-08-20T21:31:37Z","modified":"2026-08-21T15:00:05Z","title":"Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode","vendor":"capstone-engine","product":"capstone","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00194,"percentile":0.05204,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-gf2c-xwcp-hvf4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/capstone-engine/capstone/pull/2968","tags":["x_refsource_MISC"]},{"url":"https://github.com/capstone-engine/capstone/pull/2969","tags":["x_refsource_MISC"]},{"url":"https://github.com/capstone-engine/capstone/commit/09e76802380b9e94d9720c44458d9d5282219e7e","tags":["x_refsource_MISC"]},{"url":"https://github.com/capstone-engine/capstone/commit/e17ee44a8307ea33375b4727ac4f987650bf7bed","tags":["x_refsource_MISC"]},{"url":"https://github.com/capstone-engine/capstone/releases/tag/6.0.0-Alpha10","tags":["x_refsource_MISC"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":1.04},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"capstone-engine","affectedVersions":[{"vendor":"capstone-engine","product":"capstone","versions":["< 6.0.0-Alpha10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T14:59:57.566989Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-63669","exploited":false,"provenance":"source"}}