Summary
Package updates are available for Amazon Linux 2023 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 7
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | capstone | 0:4.0.2-9.amzn2023.0.4 |
| Amazon Linux · 2023 | capstone-debuginfo | 0:4.0.2-9.amzn2023.0.4 |
| Amazon Linux · 2023 | capstone-debugsource | 0:4.0.2-9.amzn2023.0.4 |
| Amazon Linux · 2023 | capstone-devel | 0:4.0.2-9.amzn2023.0.4 |
| Amazon Linux · 2023 | capstone-java | 0:4.0.2-9.amzn2023.0.4 |
| Amazon Linux · 2023 | python3-capstone | 0:4.0.2-9.amzn2023.0.4 |
| Amazon Linux · 2023 | python3-capstone-debuginfo | 0:4.0.2-9.amzn2023.0.4 |
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