cve.bz

CVE-2026-49263 capstone-engine capstone: Numeric Truncation Error

2.0 lowEPSS 0.2%

Low (2.0) in capstone-engine capstone. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

2.0 low
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-197 Numeric Truncation Error
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-49263 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-49263?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-49263?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-49263 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
capstone-engine capstone< 6.0.0-Alpha9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14capstoneno fix listedDEBIAN-CVE-2026-49263
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morecapstoneno fix listedUBUNTU-CVE-2026-49263
Red Hathummingbird:1capstone, capstone-java, capstone-devel and 2 more0:5.0.8-0.5.hum1RHSA-2026:81540
openSUSETumbleweedcapstone5.0.9-1.1openSUSE-SU-2026:12623-1
Azure Linux3capstoneno fix listedAZL-95979
Azure Linux3rust1.75.0-30AZL-96734
Azure Linux3rust1.90.0-10AZL-96743
Alpaquita23, 25, streamcapstoneno fix listedBELL-CVE-2026-49263

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw of moderate impact was found in the Capstone disassembly framework's WebAssembly (WASM) backend, which is shipped in Red Hat Enterprise Linux, Red Hat In-Vehicle OS, and OpenShift (via the RHEL CoreOS 9 container image), as well as in Fedora, EPEL, and Red Hat Hardened Images community offerings and community packages that bundle Capstone (such as imhex and pe-bear). Capstone's WASM decoder 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 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, causing a denial of service; for larger lengths, cs_disasm_iter() advances into the middle of the br_table payload and decodes target bytes as subsequent instructions, causing parser desynchronization and incorrect disassembly output. The flaw affects the availability and, to a lesser degree, the integrity of applications that use Capstone to disassemble attacker-controlled WASM content; there is no known confidentiality impact. Red Hat rated this flaw Moderate severity (CVSS 3.1 score 6.8), which is higher than the Low rating in the upstream CVEORG record; the difference stems from differing CVSS metric assessments between the issuers. For Red Hat Enterprise Linux, Red Hat In-Vehicle OS, and OpenShift RHEL CoreOS 9, the fix is currently deferred: exploitation requires an application to pass attacker-controlled WASM bytes to the affected disassembly APIs, so the residual risk is limited to denial of service or incorrect disassembly in such applications. For the community (Fedora, EPEL) and Red Hat Hardened Images offerings, a fix is being pursued through the delegated maintenance process.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. Upgrading to Capstone 6.0.0-Alpha9, which contains the upstream fix, addresses this issue.

ProductPackageStateAdvisory
Red Hat Hardened Imagescapstone-main-5.0.8-0.5.hum1Fixed 2026-10-12RHSA-2026:81540
Red Hat Enterprise Linux 10capstoneFix deferred
Red Hat Enterprise Linux 9capstoneFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-49263.

References

Check your stackJSON