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

CVE-2026-49282

Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9, Capstone's public `cs_insn_name()` API forwards caller-supplied instruction IDs directly to the selected architecture backend. Most backends validate the ID before indexing instruction-name tables, but the M68K and RISCV backends have missing or incomplete bounds checks. On a Capstone handle opened for M68K or RISCV, a caller-controlled invalid instruction ID can trigger an out-of-bounds read and crash the process. The demonstrated impact is availability loss in applications or bindings that expose instruction-name lookup to untrusted IDs. No code execution or data disclosure was demonstrated. Version 6.0.0-Alpha9 patches the issue.

Score
5.1 medium
Published
2026-08-14
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-Alpha9</lt></range>
      </package>
      <package>
	<name>capstone4</name>
	<range><lt>6.0.0-Alpha9</lt></range>
      </package>
      <package>
	<name>py312-capstone</name>
	<range><lt>6.0.0-Alpha9</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9,
	Capstone's public `cs_insn_name()` API forwards caller-supplied
	instruction IDs directly to the selected architecture backend. Most
	backends validate the ID before indexing instruction-name tables, but
	the M68K and RISCV backends have missing or incomplete bounds checks.
	On a Capstone handle opened for M68K or RISCV, a caller-controlled
	invalid instruction ID can trigger an out-of-bounds read and crash the
	process. The demonstrated impact is availability loss in applications
	or bindings that expose instruction-name lookup to untrusted IDs. No
	code execution or data disclosure was demonstrated. Version
	6.0.0-Alpha9 patches the issue.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2026-49282</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2026-49282</url>
    </references>
    <dates>
      <discovery>2026-08-14</discovery>
      <entry>2026-10-26</entry>
    </dates>
  </vuln>