Heap corruption via unchecked Skipdata length
Published Dec 17, 2025 · Updated Dec 17, 2025
Heap buffer overflow in Capstone 6.0.0-Alpha5 and earlier allows local users to corrupt heap memory through a Skipdata callback. The cs_disasm and cs_disasm_iter Skipdata paths copy a callback-supplied length into the fixed 24-byte cs_insn.bytes array without a bound. Reachability requires an embedding to enable Skipdata and accept a user-controlled callback or untrusted plugin; successful exploitation crashes or executes code in the consuming process.
Summary
What happened
Heap buffer overflow in Capstone 6.0.0-Alpha5 and earlier allows local users to corrupt heap memory through a Skipdata callback. The cs_disasm and cs_disasm_iter Skipdata paths copy a callback-supplied length into the fixed 24-byte cs_insn.bytes array without a bound. Reachability requires an embedding to enable Skipdata and accept a user-controlled callback or untrusted plugin; successful exploitation crashes or executes code in the consuming process.
The record
- CVE
- CVE-2025-67873
- Published
- Dec 17, 2025
- Updated
- Dec 17, 2025
- Vendor
- Capstone Engine
- Product
- Capstone
- Classifications
- CWE-122, T1203
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 17, 2025CVE publishedPublication date reported by the CVE source.
- Dec 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 6.0.0-Alpha5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Upstream Skipdata overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo