Advisory

PYSEC-2026-3544

Also known as: CVE-2026-47143, GHSA-289w-cm54-fgrm

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-21 21:16 UTC
Modified
2026-07-31 10:30 UTC

Affected packages and fixes

capstone

PyPI · All systems

Affected

  • introduced 0, fixed 5.0.8 (ecosystem)

Fixed versions

5.0.8

Fix

  • Fixed version 5.0.8
    pip install --upgrade capstone==5.0.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences