Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes
Summary
| CVE | CVE-2026-49282 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-14 18:17:30 UTC |
| Updated | 2026-08-17 19:16:31 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.1 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
EPSS: 0.001320000 probability, percentile 0.031780000 (date 2026-08-18)
Problem Types: CWE-125 | CWE-129 | CWE-191 | CWE-125 CWE-125: Out-of-bounds Read | CWE-129 CWE-129: Improper Validation of Array Index | CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
| 3.1 | CNA | DECLARED | 5.1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
LowCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Capstone-engine | Capstone | affected < 6.0.0-Alpha9 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.