{"id":"CVE-2026-55894","aliases":["CVE-2026-55894"],"related":[],"kind":"vulnerability","state":"published","title":"Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Capstone es un framework de desensamblaje. En 6.0.0-Alpha9 y versiones anteriores, la función sh_disassemble() de arch/SH/SHDisassembler.c de Capstone calcula un valor idx a partir de una instrucción bruta de 16 bits sin asegurar que esté dentro de la tabla de punteros a funciones decode[] activa y específica del modo. Una aplicación que utiliza CS_ARCH_SH con CS_MODE_SH2A o CS_MODE_SH4A y CS_MODE_SHFPU puede pasar bytecode manipulado a través de cs_disasm_iter() o cs_disasm(), haciendo que la prueba decode[idx] lea fuera de la tabla y termine el proceso con un fallo de segmentación. No se demostró ejecución de código ni revelación de información. Este problema está corregido en la versión 6.0.0-Alpha10.","source":"nvd"}],"published":"2026-08-20T21:31:37.680Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"< 6.0.0-Alpha10","status":"affected"}],"vendor":"capstone-engine","product":"capstone","source":"cvelist"}],"references":[{"url":"https://github.com/capstone-engine/capstone/security/advisories/GHSA-gf2c-xwcp-hvf4","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/capstone-engine/capstone/pull/2968","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/capstone-engine/capstone/pull/2969","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/capstone-engine/capstone/commit/09e76802380b9e94d9720c44458d9d5282219e7e","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/capstone-engine/capstone/commit/e17ee44a8307ea33375b4727ac4f987650bf7bed","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/capstone-engine/capstone/releases/tag/6.0.0-Alpha10","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-21T14:59:57.566Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55894","url":"https://www.cve.org/CVERecord?id=CVE-2026-55894","licence":"CVE Terms of Use","modified":"2026-08-21T15:00:05.011Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55894","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55894","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.739Z","epss":{"score":0.0021,"percentile":0.11777,"date":"2026-12-01T12:00:22.000Z"}}