NULL Pointer Dereference Affecting capstone package, versions <5.0.8-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-CAPSTONE-16873902
  • published24 May 2026
  • disclosed21 Jul 2026

Introduced: 24 May 2026

CVE-2026-47143  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 capstone to version 5.0.8-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream capstone package and not the capstone package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

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 &lt;modrm&gt; &lt;imm8&gt;. Versions 6.0.0-Alpha8 and 5.0.8 patch the issue.

CVSS Base Scores

version 3.1