CVE-2026-49282
CVE-2026-49282 · Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.1 · Medium · EPSS 0.2%
- Published
- Updated
Stack: system
Affected products and versions
capstone
- Versions
- < 6.0.0-Alpha9: Affected
No fix published
capstone Debian:12
- Versions
- 4.0.2-5
- 4.0.2-5.1
- 5.0-1~exp1
- 5.0.1-1~exp1
- 5.0.3-1
- 5.0.5-1
- 5.0.6-1
- 5.0.7-1
- 5.0.7-1~deb13u1
- 5.0.7-2
- 5.0.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Debian:13
- Versions
- 5.0.6-1
- 5.0.7-1
- 5.0.7-1~deb13u1
- 5.0.7-2
- 5.0.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Debian:14
- Versions
- 5.0.6-1
- 5.0.7-1
- 5.0.7-1~deb13u1
- 5.0.7-2
- 5.0.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:16.04:LTS
- Versions
- 3.0.4-0.1
- 3.0.4-0.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:18.04:LTS
- Versions
- 3.0.4-3
- 3.0.4-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:20.04:LTS
- Versions
- 4.0.1+really+3.0.5-1
- 4.0.1+really+3.0.5-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:22.04:LTS
- Versions
- 4.0.2-3
- 4.0.2-3build1
- 4.0.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:24.04:LTS
- Versions
- 4.0.2-5
- 4.0.2-5ubuntu1
- 4.0.2-5.1
- 4.0.2-5.1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:26.10
- Versions
- 5.0.7-2
- 5.0.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
capstone Ubuntu:26.04:LTS
- Versions
- 5.0.6-1
- 5.0.6-1build1
- 5.0.7-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published