---
id: CVE-2025-67873
title: Capstone is a disassembly framework
summary: >-
  Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior,
  Skipdata length is not bounds-checked, so a user-provided skipdata callback
  can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into
  cs_insn.bytes, causing …
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L'
cwe:
  - CWE-122
vendor: capstone-engine
product: capstone
affected:
  - capstone < 6.0.0
  - capstone = 6.0.0
patched:
  - capstone 6.0.0
published: '2025-12-17'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T11:10:00.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-67873'
references:
  - url: >-
      https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3
    label: security-advisories@github.com
  - url: >-
      https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg
    label: security-advisories@github.com
  - url: >-
      https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jg
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00235
epssPercentile: 0.13279
ingestedAt: '2026-10-13T11:23:51.128Z'
---

## Overview

Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, Skipdata length is not bounds-checked, so a user-provided skipdata callback can make cs_disasm/cs_disasm_iter memcpy more than 24 bytes into cs_insn.bytes, causing a heap buffer overflow in the disassembly path. Commit cbef767ab33b82166d263895f24084b75b316df3 fixes the issue.

## Affected

- `capstone < 6.0.0`
- `capstone = 6.0.0`

## Remediation

Upgrade past the affected range:

- `capstone 6.0.0`
