Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Capstone-Engine | Capstone | < 6.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/capstone-engine/capstone/commit/cbef767ab33b82166d263895f2408Patch
- https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-vExploitVendor Advisory
- https://github.com/capstone-engine/capstone/security/advisories/GHSA-hj6g-v545-vExploitVendor Advisory
FAQ
What is CVE-2025-67873?
CVE-2025-67873 is a vulnerability with a CVSS score of 4.8 (MEDIUM). 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 ...
How severe is CVE-2025-67873?
CVE-2025-67873 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-67873?
Check the references section above for vendor advisories and patch information. Affected products include: Capstone-Engine Capstone.