cve.bz

CVE-2026-55893 capstone-engine capstone: Heap-based Buffer Overflow

7.3 highEPSS 0.2%

High (7.3) 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. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c SH floating-point decoders such as opFADD, opFMUL, and opFSUB call set_reg() and set_reg_n() using sh_info.op.op_count without checking the fixed-size operands[] array. Repeated crafted instructions processed through cs_disasm_iter() or cs_disasm() with CS_ARCH_SH, CS_MODE_SH2A or CS_MODE_SH4A, CS_MODE_SHFPU, and CS_OPT_DETAIL can increment the operand count beyond the 176-byte sh_info allocation and perform a four-byte heap buffer overflow write. The corruption can crash the process and may enable code execution depending on heap layout. This issue is fixed in version 6.0.0-Alpha10.

Severity

CVSS 4.0

7.3 high
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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; 8th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-08-21. 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-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-55893 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-55893?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-55893?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-55893 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-Alpha10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14capstoneno fix listedDEBIAN-CVE-2026-55893
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morecapstoneno fix listedUBUNTU-CVE-2026-55893
Red Hathummingbird:1capstone, capstone-java, capstone-devel and 2 more0:5.0.8-0.3.hum1RHSA-2026:59419
Azure Linux3capstoneno fix listedAZL-96894
Azure Linux3rust1.96.1-1AZL-97416
Alpaquita23, 25, streamcapstoneno fix listedBELL-CVE-2026-55893

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; 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 · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A MODERATE impact heap buffer overflow was found in Capstone, a disassembly framework shipped in Red Hat Enterprise Linux 9 and 10, Red Hat OpenShift Container Platform (via RHEL CoreOS 9), Red Hat In-Vehicle OS, and Red Hat Hardened Images, as well as in Fedora and EPEL community packages, including applications that bundle Capstone such as imhex and pe-bear. The SH floating-point instruction decoders in Capstone's arch/SH/SHDisassembler.c (for example opFADD, opFMUL, and opFSUB) call set_reg() and set_reg_n() using sh_info.op.op_count without validating it against the fixed-size operands[] array. When an application disassembles specially crafted SH2A or SH4A FPU instructions through cs_disasm() or cs_disasm_iter() with CS_ARCH_SH, CS_MODE_SHFPU, and CS_OPT_DETAIL enabled, the operand count can grow beyond the 176-byte sh_info allocation and perform a four-byte heap buffer overflow write. A local attacker able to supply such crafted bytecode to an application that disassembles it could crash the application, causing a denial of service, and may potentially achieve code execution depending on heap layout. Although the upstream CVSS scores (CVEORG CVSS:4.0 7.3 and Red Hat CVSS:3.1 7.0) fall in the Important severity range, Red Hat rates this flaw as MODERATE impact because exploitation requires local access to crafted input, high attack complexity, and user interaction for the malicious instructions to be processed. All affected Red Hat product streams are marked AFFECTED with a fix being pursued through the responsible product teams.

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.

ProductPackageStateAdvisory
Red Hat Hardened Imagescapstone-main-5.0.8-0.3.hum1Fixed 2026-08-25RHSA-2026:59419
Red Hat Enterprise Linux 10capstoneAffected
Red Hat Enterprise Linux 9capstoneAffected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected

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-55893.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON