Capstone M68K and RISCV `cs_insn_name()` invalid IDs can trigger out-of-bounds reads and process crashes
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Partial Red Hat: 1 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| capstone-engine | capstone | before 6.0.0-Alpha9 | 6.0.0-Alpha9 | Patch available | CNA |
- capstone Vendorcapstone-engine Affected before 6.0.0-Alpha9 Fixed in 6.0.0-Alpha9 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:* | — | — | capstone-engine |
- cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:* Versions — — ·capstone-engine
Remediation
- Fix · CNA capstone (capstone-engine) Fixed in 6.0.0-Alpha9
Red Hat 1 advisory
- RHSA-2026:81540 Released 2026-10-12 · Red Hat rating ModerateRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images capstone-5.0.8-0.5.hum1@aarch64, capstone-5.0.8-0.5.hum1@s390x, capstone-5.0.8-0.5.hum1@src +13
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:81540 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49282
- 2026-10-13 Fix available: RHSA-2026:81540 · Red Hat
- 2026-10-13 Fix available: Red Hat Hardened Images · Red Hat
- 2026-11-03 Affected versions changed · Red Hat
References
More capstone-engine vulnerabilities
- TI-2025-41703 Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow CVSS 3.1CRITICAL 9.8
- TI-2025-41500 Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow CVSS 3.1HIGH 7.8
- TI-2026-40345 Capstone SH disassembler `sh_disassemble` out-of-bounds read via crafted SH2A bytecode CVSS 4.0MEDIUM 6.8
- TI-2026-34733 Capstone has a NULL Pointer Dereference with 3DNow! opcodes CVSS 3.1MEDIUM 5.9
- TI-2026-36458 Capstone WASM `br_table` instruction-size truncation can cause no-progress disassembly and parser desynchronization CVSS 4.0LOW 2.0
- TI-2017-04662 Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4… CVSS 3.0HIGH 8.8
Sources
- CVE-2026-49282 · CVE Program
- CVE-2026-49282 · NVD
- FIRST EPSS
- CVE-2026-49282 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences