CVE-2026-47143

Capstone has a NULL Pointer Dereference with 3DNow! opcodes

Published Jul 21, 2026 CVSS 3.1 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Capstone-engine
Capstone-engine capstone
Vendors & Products Capstone-engine
Capstone-engine capstone
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 22, 2026, 1:42 PM
Reserved
May 18, 2026, 7:50 PM
Status
Analyzed
Published
Jul 21, 2026, 9:16 PM
Modified
Oct 24, 2026, 7:10 PM
Severity
Moderate
Public date
Jul 21, 2026, 8:10 PM