Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-67873: 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.
Fixed packages 5
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | capstone | 0:3.0.5-1.amzn2.0.1 |
| Amazon Linux · 2 | capstone-debuginfo | 0:3.0.5-1.amzn2.0.1 |
| Amazon Linux · 2 | capstone-devel | 0:3.0.5-1.amzn2.0.1 |
| Amazon Linux · 2 | capstone-java | 0:3.0.5-1.amzn2.0.1 |
| Amazon Linux · 2 | python2-capstone | 0:3.0.5-1.amzn2.0.1 |
Vulnerabilities 1
-
Medium 4.8
Capstone doesn't check Skipdata length, leading to cs_insn.bytes heap buffer overflow
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…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2025-67873.html