Vulnerability · Published Aug 14, 2026 · Assigned by GitHub_M

CVE-2026-49282Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes

Medium 5.1

In plain English

A medium-severity out-of-bounds read in capstone from capstone-engine. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.2%top 92.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12capstoneno fix listedDEBIAN-CVE-2026-49282
Debian:13capstoneno fix listedDEBIAN-CVE-2026-49282
Debian:14capstoneno fix listedDEBIAN-CVE-2026-49282
Ubuntu:22.04:LTScapstoneno fix listedUBUNTU-CVE-2026-49282
Ubuntu:24.04:LTScapstoneno fix listedUBUNTU-CVE-2026-49282
Ubuntu:26.04:LTScapstoneno fix listedUBUNTU-CVE-2026-49282
Ubuntu:26.10capstoneno fix listedUBUNTU-CVE-2026-49282

Affected products (as reported)

VendorProductVersions
capstone-engine capstone < 6.0.0-Alpha9

Weakness: CWE-125, CWE-129, CWE-191 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

References