CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
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.

Score
6.8 medium
Published
2026-08-20
Links
NVD · cve.org

Matched ports (3)

PortPackageVersionStatusMaintainer
devel/capstonecapstone5.0.9unaddressedbofh@FreeBSD.org
devel/capstone4capstone44.0.2_1unaddressedoleksii.tsai@gmail.com
devel/py-capstonepy312-capstone5.0.9_1unaddressedbofh@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>