# CVE-2026-49282: Capstone M68K and RISCV out-of-bounds read in cs_insn_name()

Source: https://junglewise.ai/threats/cve-2026-49282-capstone-m68k-and-riscv-out-of-bounds-read-in-cs-insn-name  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-14. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-49282 · Severity: medium · CVSS 5.1 · Published 2026-08-14

Capstone is a widely-used disassembly framework that converts machine code into human-readable instructions. The cs_insn_name() function, which looks up instruction names, lacks proper input validation in its M68K and RISCV backends. An attacker who can supply arbitrary instruction IDs to this function can crash the application by triggering an out-of-bounds memory read, causing a denial of service.

## Quick answers

**Is CVE-2026-49282 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-49282 being exploited in the wild.

**How severe is CVE-2026-49282?** Medium severity, with a CVSS score of 5.1, published 14 August 2026.

**Which products and versions are affected?** Capstone Capstone before 6.0.0-Alpha9.

**Is there a fix for CVE-2026-49282?** A patch was published on 2026-06: Version 6.0.0-Alpha9 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-49282 attacked?** It is attacked with local access.

**Am I affected by CVE-2026-49282?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is an out-of-bounds read in the M68K and RISCV instruction-name lookup backends. The M68K backend directly indexes a fixed-size instruction-name table without checking the caller-supplied ID against the table bounds, while the RISCV backend has an incomplete range check that allows underflow of an unsigned index. An unauthenticated attacker with the ability to call cs_insn_name() with arbitrary instruction IDs can trigger a crash. No code execution or data disclosure has been demonstrated. The issue is patched in version 6.0.0-Alpha9.

## Affected products

- Capstone Capstone before 6.0.0-Alpha9

## Timeline

- 2026-05-27: disclosed
- 2026-06: patched: Version 6.0.0-Alpha9

## References

- [https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog](https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog)
- [https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8](https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8)
