Buffer Overflow Vulnerability in Capstone Disassembly Framework
CVE-2025-67873
4.8MEDIUM
What is CVE-2025-67873?
A vulnerability in the Capstone disassembly framework arises due to inadequate bounds checking on the Skipdata length. This flaw allows a user-provided skipdata callback to manipulate functions such as cs_disasm and cs_disasm_iter, leading to potential heap buffer overflow situations. Such an overflow can occur when memcpy operations exceed 24 bytes into cs_insn.bytes, posing risks to application integrity. The issue is addressed in a commit providing a fix to enhance the framework's security.
Affected Version(s)
capstone <= 6.0.0-Alpha5
