Description
Capstone is a disassembly framework. Versions prior to 6.0.0-Alpha8 and 5.0.8 have a NULL pointer dereference in `modRMRequired()` and `decode()` when disassembling 3DNow! opcodes (`0F 0F`) in builds compiled with `-DCAPSTONE_X86_REDUCE`, allowing a remote attacker to crash any application using the reduced X86 Capstone library by supplying a crafted input containing the 4-byte sequence `0F 0F <modrm> <imm8>`. Versions 6.0.0-Alpha8 and 5.0.8 patch the issue.
Published: 2026-07-21
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capstone is a disassembly framework. Versions before 6.0.0-Alpha8 and 5.0.8 contain a NULL pointer dereference in the modRMRequired() and decode() routines when the library is built with -DCAPSTONE_X86_REDUCE and is asked to disassemble 3DNow! opcodes (0F 0F). By providing a 4‑byte sequence 0F 0F <modrm> <imm8> the attacker can trigger the null dereference and crash any application that uses the reduced‑mode Capstone library. The issue is a straightforward instance of CWE‑476 and leads only to a denial‑of‑service, not code execution. The patch in 6.0.0‑Alpha8 and 5.0.8 removes the vulnerability.

Affected Systems

The affected vendor is Capstone Engine with the product Capstone, a disassembly framework. All releases earlier than version 6.0.0-Alpha8 and 5.0.8 are vulnerable when built with the reduced X86 mode enabled. Versions 6.0.0-Alpha8, 5.0.8 and later contain the fix.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity, but the EPSS score of less than 1% shows a very low probability of exploitation in the wild. The flaw is not listed in the CISA KEV catalog, further suggesting it is not currently widely exploited. Based on the description, it is inferred that any application that relies on a reduced X86 Capstone build and is exposed to untrusted input could be brought down by a crafted packet, providing a likely remote denial‑of‑service vector. The likely attack requires the ability to supply binary data to the disassembly function, which is commonly available to tools used in reverse engineering and malware analysis.

Generated by OpenCVE AI on July 30, 2026 at 16:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Capstone to version 6.0.0-Alpha8 or later, or to 5.0.8 or later, to apply the vendor‑supplied patch
  • Recompile Capstone without the -DCAPSTONE_X86_REDUCE flag if custom builds are required, eliminating the vulnerable execution path
  • Implement input validation to reject or sanitize 4‑byte sequences that match the 0F 0F opcode pattern before they reach the disassembler

Generated by OpenCVE AI on July 30, 2026 at 16:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 23 Jul 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Capstone-engine
Capstone-engine capstone
Vendors & Products Capstone-engine
Capstone-engine capstone

Wed, 22 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 20:45:00 +0000

Type Values Removed Values Added
Description Capstone is a disassembly framework. Versions prior to 6.0.0-Alpha8 and 5.0.8 have a NULL pointer dereference in `modRMRequired()` and `decode()` when disassembling 3DNow! opcodes (`0F 0F`) in builds compiled with `-DCAPSTONE_X86_REDUCE`, allowing a remote attacker to crash any application using the reduced X86 Capstone library by supplying a crafted input containing the 4-byte sequence `0F 0F <modrm> <imm8>`. Versions 6.0.0-Alpha8 and 5.0.8 patch the issue.
Title Capstone has a NULL Pointer Dereference with 3DNow! opcodes
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Capstone-engine Capstone
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T13:42:55.326Z

Reserved: 2026-05-18T19:50:18.696Z

Link: CVE-2026-47143

cve-icon Vulnrichment

Updated: 2026-07-22T13:42:23.739Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-21T20:10:44Z

Links: CVE-2026-47143 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:45:04Z

Weaknesses