# CVE-2026-49282: Capstone M68K and RISCV \`cs\_insn\_name()\` invalid IDs can trigger out-of-bounds reads and process crashes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-125, CWE-129, CWE-191
- **Published:** 2026-08-14T17:44:44.818Z
- **Modified:** 2026-09-18T20:05:53.723Z

## Who should check

- Anyone running capstone-engine capstone \< 6.0.0-Alpha9

## 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 and fixed versions

- capstone-engine capstone: \< 6.0.0-Alpha9 (cvelist)

## Mitigation

- Upgrade capstone to 6.0.0-Alpha9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-49282. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49282.md
Affected: capstone-engine capstone < 6.0.0-Alpha9
Fixed in: capstone-engine capstone 6.0.0-Alpha9

Steps:
1. Search this machine and project for capstone-engine capstone: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-49282 being exploited?

There is no confirmed exploitation: CVE-2026-49282 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-49282?

Medium: CVSS 5.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-49282?

capstone-engine capstone \< 6.0.0-Alpha9.

### Is there a fix for CVE-2026-49282?

Yes. Fixed in capstone-engine capstone 6.0.0-Alpha9. Upgrade capstone to 6.0.0-Alpha9 or later.

### How do I check if I'm affected by CVE-2026-49282?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8>
- other: <https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-49282>

HTML: <https://flawdb.com/CVE-2026-49282> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-49282>
