CVE details
CVE-2026-55894
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.
Matched ports (3)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| devel/capstone | capstone | 5.0.9 | unaddressed | bofh@FreeBSD.org |
| devel/capstone4 | capstone4 | 4.0.2_1 | unaddressed | oleksii.tsai@gmail.com |
| devel/py-capstone | py312-capstone | 5.0.9_1 | unaddressed | bofh@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>capstone</name>
<range><lt>6.0.0-Alpha10</lt></range>
</package>
<package>
<name>capstone4</name>
<range><lt>6.0.0-Alpha10</lt></range>
</package>
<package>
<name>py312-capstone</name>
<range><lt>6.0.0-Alpha10</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2026-55894</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2026-55894</url>
</references>
<dates>
<discovery>2026-08-20</discovery>
<entry>2026-10-26</entry>
</dates>
</vuln>