Out-of-bounds Read in Capstone-Engine Capstone
CVE-2026-49282
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.
Vulnerability class: Buffer Overflow
CVSS v3 metric
CVSS v3 base score 5.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
Affected products
- Capstone-engine Capstone — versions < 6.0.0-Alpha9
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-49282?
- CVE-2026-49282 is a medium-severity vulnerability in Capstone-Engine Capstone, classified under Out-of-bounds Read. CVSS score: 5.1/10. Published 2026-08-14.
- How severe is CVE-2026-49282?
- Medium severity. CVSS v3 base score is 5.1 out of 10.