Skip to content

CVE-2026-47143 Capstone has a NULL Pointer Dereference with 3DNow! opcodes

MediumCVSS 5.9 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

14 packages: 8 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/capstone(Debian 12) = 4.0.2-5; = 4.0.2-5.1; = 5.0-1~exp1; = 5.0.1-1~exp1 +8 more No fix listed No fix yet
debian/capstone(Debian 13) = 5.0.6-1; = 5.0.7-1; = 5.0.7-1~deb13u1; = 5.0.7-2 +2 more No fix listed No fix yet
ubuntu/capstone(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/capstone(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/capstone(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/capstone(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/capstone(Alpine v3.23) < 5.0.8-r0 5.0.8-r0 Fixed
alpine/capstone(Alpine v3.24) < 5.0.8-r0 5.0.8-r0 Fixed
azure linux capstone(Azure Linux 4.0) < 0:5.0.9-1.azl4 0:5.0.9-1.azl4 Fixed
azure linux rust(Azure Linux 3.0) < 1.90.0-10 1.90.0-10 Fixed
capstone-engine capstone < 5.0.8; = 6.0.0-alpha1; = 6.0.0-alpha2; = 6.0.0-alpha3 +6 more 5.0.8 Fixed
debian/capstone(Debian 14) < 5.0.9-1; = 5.0.6-1; = 5.0.7-1; = 5.0.7-1~deb13u1 +1 more 5.0.9-1 Fixed
pypi capstone(PyPI) < 5.0.8; = 2.0; = 2.1; = 3.0 +21 more 5.0.8 Fixed
redhat/capstone-main(Red Hat hummingbird 1) < 5.0.8-0.1.hum1 5.0.8-0.1.hum1 Fixed

Affected products

ProductAffected versionsFixed in
capstone-engine capstone = < 5.0.8 No fix listed
capstone-engine capstone = < 6.0.0-Alpha8 No fix listed
debian/capstone(Debian:12) All versions No fix listed
debian/capstone(Debian:14) < 5.0.9-1 5.0.9-1
debian/capstone(Debian:13) All versions No fix listed
pypi capstone(PyPI) < 5.0.8 5.0.8
pypi capstone(PyPI) = 2.0 No fix listed
pypi capstone(PyPI) = 2.1 No fix listed
pypi capstone(PyPI) = 3.0 No fix listed
pypi capstone(PyPI) = 3.0.1 No fix listed
pypi capstone(PyPI) = 3.0.2 No fix listed
pypi capstone(PyPI) = 3.0.3 No fix listed
pypi capstone(PyPI) = 3.0.4 No fix listed
pypi capstone(PyPI) = 3.0.5 No fix listed
pypi capstone(PyPI) = 3.0.5.post1 No fix listed
pypi capstone(PyPI) = 3.0.5rc2 No fix listed
pypi capstone(PyPI) = 4.0.0 No fix listed
pypi capstone(PyPI) = 4.0.1 No fix listed
pypi capstone(PyPI) = 4.0.2 No fix listed
pypi capstone(PyPI) = 5.0.0 No fix listed
pypi capstone(PyPI) = 5.0.0.post1 No fix listed
pypi capstone(PyPI) = 5.0.0rc2 No fix listed
pypi capstone(PyPI) = 5.0.0rc4 No fix listed
pypi capstone(PyPI) = 5.0.1 No fix listed
pypi capstone(PyPI) = 5.0.2 No fix listed
Show 42 more
ProductAffected versionsFixed in
pypi capstone(PyPI) = 5.0.3 No fix listed
pypi capstone(PyPI) = 5.0.4 No fix listed
pypi capstone(PyPI) = 5.0.5 No fix listed
pypi capstone(PyPI) = 5.0.6 No fix listed
pypi capstone(PyPI) = 5.0.7 No fix listed
redhat/capstone-main(Red Hat:hummingbird:1) < 5.0.8-0.1.hum1 5.0.8-0.1.hum1
debian/capstone(Debian:12) = 4.0.2-5 No fix listed
debian/capstone(Debian:12) = 4.0.2-5.1 No fix listed
debian/capstone(Debian:12) = 5.0-1~exp1 No fix listed
debian/capstone(Debian:12) = 5.0.1-1~exp1 No fix listed
debian/capstone(Debian:12) = 5.0.3-1 No fix listed
debian/capstone(Debian:12) = 5.0.5-1 No fix listed
debian/capstone(Debian:12) = 5.0.6-1 No fix listed
debian/capstone(Debian:12) = 5.0.7-1 No fix listed
debian/capstone(Debian:12) = 5.0.7-1~deb13u1 No fix listed
debian/capstone(Debian:12) = 5.0.7-2 No fix listed
debian/capstone(Debian:12) = 5.0.9-1 No fix listed
debian/capstone(Debian:13) = 5.0.6-1 No fix listed
debian/capstone(Debian:13) = 5.0.7-1 No fix listed
debian/capstone(Debian:13) = 5.0.7-1~deb13u1 No fix listed
debian/capstone(Debian:13) = 5.0.7-2 No fix listed
debian/capstone(Debian:13) = 5.0.9-1 No fix listed
debian/capstone(Debian:14) = 5.0.6-1 No fix listed
debian/capstone(Debian:14) = 5.0.7-1 No fix listed
debian/capstone(Debian:14) = 5.0.7-1~deb13u1 No fix listed
debian/capstone(Debian:14) = 5.0.7-2 No fix listed
ubuntu/capstone(Ubuntu:22.04) All versions No fix listed
alpine/capstone(Alpine:v3.23) < 5.0.8-r0 5.0.8-r0
alpine/capstone(Alpine:v3.24) < 5.0.8-r0 5.0.8-r0
ubuntu/capstone(Ubuntu:24.04) All versions No fix listed
ubuntu/capstone(Ubuntu:26.04) All versions No fix listed
ubuntu/capstone(Ubuntu:26.10) All versions No fix listed
capstone-engine capstone < 5.0.8 5.0.8
capstone-engine capstone = 6.0.0-alpha1 No fix listed
capstone-engine capstone = 6.0.0-alpha2 No fix listed
capstone-engine capstone = 6.0.0-alpha3 No fix listed
capstone-engine capstone = 6.0.0-alpha4 No fix listed
capstone-engine capstone = 6.0.0-alpha5 No fix listed
capstone-engine capstone = 6.0.0-alpha6 No fix listed
capstone-engine capstone = 6.0.0-alpha7 No fix listed
azure linux rust(Azure Linux:3.0) < 1.90.0-10 1.90.0-10
azure linux capstone(Azure Linux:4.0) < 0:5.0.9-1.azl4 0:5.0.9-1.azl4

References