Heap-based Buffer Overflow Affecting capstone package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.14% (4th 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-CAPSTONE-19233394
  • published23 Aug 2026
  • disclosed21 Aug 2026
  • credit1g1n0

Introduced: 21 Aug 2026

NewCVE-2026-55893  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the set_reg_n function. An attacker can cause a four-byte heap buffer overflow by supplying crafted SH2A FPU bytecode processed through cs_disasm_iter or cs_disasm with specific architecture and mode options, potentially leading to process crashes or arbitrary code execution depending on heap layout.

CVSS Base Scores

version 4.0
version 3.1