CVE-2025-67873Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow
Updated under an hour ago ()
Does this affect you?
It affects capstone-engine capstone and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 4.8 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- Weakness (CWE)
- CWE-122
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Dec 18, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
capstone-engine capstone capstone_engine:capstone (from the name) | through 6.0.0-Alpha5 | CNA record |
capstone-engine capstone capstone-engine:capstone | before 6.0.0; 6.0.0; 6.0.0; 6.0.0; 6.0.0; 6.0.0 | NVD |
References
- https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-v7jgx-refsource-confirm, exploit, vendor-advisory
- https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f24084b75b316df3x-refsource-misc, patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.