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

- Severity: Medium 5.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-14T17:44:44.818Z
- Modified: 2026-09-18T20:05:53.723Z
- Weaknesses: CWE-125, CWE-129, CWE-191
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- capstone-engine capstone: < 6.0.0-Alpha9

## References

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

## Sources

- CVE List: [CVE-2026-49282](https://www.cve.org/CVERecord?id=CVE-2026-49282), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-49282](https://nvd.nist.gov/vuln/detail/CVE-2026-49282), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-49282 · Whole record: https://cve.day/CVE-2026-49282.json · Rebuilt by cve.day 2026-11-25T22:59:32.934Z
