CVE-2026-49282 Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes
MediumCVSS 5.1
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| capstone-engine capstone | = < 6.0.0-Alpha9 | No fix listed |
| redhat/capstone-main(Red Hat:hummingbird:1) | < 5.0.8-0.5.hum1 | 5.0.8-0.5.hum1 |
| redhat/capstone(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/capstone(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/capstone(Debian:12) | All versions | No fix listed |
| debian/capstone(Debian:12) | = 4.0.2-5 | No fix listed |
| debian/capstone(Debian:12) | = 4.0.2-5.1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0-1~exp1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.1-1~exp1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.3-1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.5-1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.6-1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.7-1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.7-1~deb13u1 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.7-2 | No fix listed |
| debian/capstone(Debian:12) | = 5.0.9-1 | No fix listed |
| debian/capstone(Debian:13) | All versions | No fix listed |
| debian/capstone(Debian:13) | = 5.0.6-1 | No fix listed |
| debian/capstone(Debian:13) | = 5.0.7-1 | No fix listed |
| debian/capstone(Debian:13) | = 5.0.7-1~deb13u1 | No fix listed |
| debian/capstone(Debian:13) | = 5.0.7-2 | No fix listed |
| debian/capstone(Debian:13) | = 5.0.9-1 | No fix listed |
| debian/capstone(Debian:14) | All versions | No fix listed |
Show 9 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/capstone(Debian:14) | = 5.0.6-1 | No fix listed |
| debian/capstone(Debian:14) | = 5.0.7-1 | No fix listed |
| debian/capstone(Debian:14) | = 5.0.7-1~deb13u1 | No fix listed |
| debian/capstone(Debian:14) | = 5.0.7-2 | No fix listed |
| debian/capstone(Debian:14) | = 5.0.9-1 | No fix listed |
| ubuntu/capstone(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/capstone(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/capstone(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/capstone(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8 exploit
- https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102
- Red Hat CVE page vendor-advisory
- RHSA-2026:81540 patch vendor-advisory
- Red Hat Bugzilla 2516103 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-49282 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking