CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
CVE details

CVE-2026-55893

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c SH floating-point decoders such as opFADD, opFMUL, and opFSUB call set_reg() and set_reg_n() using sh_info.op.op_count without checking the fixed-size operands[] array. Repeated crafted instructions processed through cs_disasm_iter() or cs_disasm() with CS_ARCH_SH, CS_MODE_SH2A or CS_MODE_SH4A, CS_MODE_SHFPU, and CS_OPT_DETAIL can increment the operand count beyond the 176-byte sh_info allocation and perform a four-byte heap buffer overflow write. The corruption can crash the process and may enable code execution depending on heap layout. This issue is fixed in version 6.0.0-Alpha10.

Score
7.3 high
Published
2026-08-20
Links
NVD · cve.org · Report wrong data

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 floating-point decoders such as
	opFADD, opFMUL, and opFSUB call set_reg() and set_reg_n() using
	sh_info.op.op_count without checking the fixed-size operands[] array.
	Repeated crafted instructions processed through cs_disasm_iter() or
	cs_disasm() with CS_ARCH_SH, CS_MODE_SH2A or CS_MODE_SH4A,
	CS_MODE_SHFPU, and CS_OPT_DETAIL can increment the operand count
	beyond the 176-byte sh_info allocation and perform a four-byte heap
	buffer overflow write. The corruption can crash the process and may
	enable code execution depending on heap layout. This issue is fixed in
	version 6.0.0-Alpha10.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-55893</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-55893</url>
    </references>
    <dates>
      <discovery>2026-08-20</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>