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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 17 Dec 2025 21:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow
Weaknesses CWE-122
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-12-17T21:12:13.739Z

Reserved: 2025-12-12T18:53:03.237Z

Link: CVE-2025-67873

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-12-17T22:16:00.147

Modified: 2025-12-17T22:16:00.147

Link: CVE-2025-67873

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses