1. Archivio CVE
  2. 2026
  3. CVE-2026-49263

CVE-2026-49263

2 Gravità bassa CVSS v4.0 · fonte NVD CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 2 – Bassa

Descrizione

Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9, Capstone's WebAssembly backend accepts attacker-controlled raw WASM instruction bytes through the public `cs_disasm()` and `cs_disasm_iter()` APIs. For a large but well-formed `br_table` instruction, the WASM decoder accumulates the immediate length in a wider local variable but returns it through a `uint16_t` instruction-size path. When the encoded instruction length is exactly 65,536 bytes, the size wraps to zero and `cs_disasm()` can repeatedly decode the same instruction without advancing. For larger lengths, `cs_disasm_iter()` advances into the middle of the `br_table` payload and decodes target bytes as subsequent instructions. This is an availability and parser-integrity issue. Version 6.0.0-Alpha9 patches the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
capstone-engine capstone < 6.0.0-Alpha9 –
Tutte le 9 vulnerabilità di Capstone-engine Capstone

Tipo di vulnerabilità

CWE-197 Numeric Truncation Error

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria, Dipende dal contesto

Come si previene

Sviluppo Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org