CVE-2026-49263: CWE-197: Numeric Truncation Error in capstone-engine capstone
CVE-2026-49263 is a numeric truncation error in the capstone disassembly framework's WebAssembly backend affecting versions prior to 6.0.0-Alpha9. The vulnerability involves improper handling of large br_table instruction lengths, causing the instruction size to wrap and leading to repeated decoding or misaligned parsing. This results in availability and parser integrity issues. The issue is patched in version 6.0.0-Alpha9.
AI Analysis
Technical Summary
Capstone's WebAssembly backend prior to version 6.0.0-Alpha9 accepts attacker-controlled raw WASM instruction bytes via public APIs cs_disasm() and cs_disasm_iter(). For a large but well-formed br_table instruction, the decoder accumulates the immediate length in a wider variable but returns it through a uint16_t path. When the encoded instruction length is exactly 65,536 bytes, the size wraps to zero causing cs_disasm() to repeatedly decode the same instruction without advancing. For larger lengths, cs_disasm_iter() advances into the middle of the br_table payload, decoding target bytes as subsequent instructions. This causes availability and parser-integrity issues. The vulnerability is fixed in version 6.0.0-Alpha9.
Potential Impact
The vulnerability can cause denial of service by making the disassembler repeatedly decode the same instruction or misinterpret instruction boundaries, affecting availability and parser integrity. The CVSS 4.0 score is low (2.0), reflecting limited impact and local attack vector with partial user interaction required.
Mitigation Recommendations
The issue is patched in capstone version 6.0.0-Alpha9. Users should upgrade to this version or later to remediate the vulnerability. No other vendor advisories or temporary mitigations are provided.
CVE-2026-49263: CWE-197: Numeric Truncation Error in capstone-engine capstone
Description
CVE-2026-49263 is a numeric truncation error in the capstone disassembly framework's WebAssembly backend affecting versions prior to 6.0.0-Alpha9. The vulnerability involves improper handling of large br_table instruction lengths, causing the instruction size to wrap and leading to repeated decoding or misaligned parsing. This results in availability and parser integrity issues. The issue is patched in version 6.0.0-Alpha9.
CVSS v4.0
Score 2.0low
Affected software
pkg:github/capstone-engine/capstoneRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Capstone's WebAssembly backend prior to version 6.0.0-Alpha9 accepts attacker-controlled raw WASM instruction bytes via public APIs cs_disasm() and cs_disasm_iter(). For a large but well-formed br_table instruction, the decoder accumulates the immediate length in a wider variable but returns it through a uint16_t path. When the encoded instruction length is exactly 65,536 bytes, the size wraps to zero causing cs_disasm() to repeatedly decode the same instruction without advancing. For larger lengths, cs_disasm_iter() advances into the middle of the br_table payload, decoding target bytes as subsequent instructions. This causes availability and parser-integrity issues. The vulnerability is fixed in version 6.0.0-Alpha9.
Potential Impact
The vulnerability can cause denial of service by making the disassembler repeatedly decode the same instruction or misinterpret instruction boundaries, affecting availability and parser integrity. The CVSS 4.0 score is low (2.0), reflecting limited impact and local attack vector with partial user interaction required.
Mitigation Recommendations
The issue is patched in capstone version 6.0.0-Alpha9. Users should upgrade to this version or later to remediate the vulnerability. No other vendor advisories or temporary mitigations are provided.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-28T14:33:01.180Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7f5a78bf8831d539821052
Added to database: 08/14/2026, 18:12:08 UTC
Last enriched: 08/14/2026, 18:29:11 UTC
Last updated: 08/14/2026, 18:29:11 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.