Summary
This update for capstone fixes the following issues:
Security issues fixed:
- CVE-2025-67873: missing bounds check on user-provided skipdata callback can lead to a heap buffer overflow
(bsc#1255309).
- CVE-2025-68114: unchecked `vsnprintf` return value can lead to a stack buffer overflow (bsc#1255310).
Other updates and bugfixes:
- Enable static library, and add `libcapstone-devel-static` subpackage.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.6 | capstone | 4.0.2-150500.3.3.1 |
| SUSE · SLE Micro 5.5 Linux Enterprise Micro 5.5 | capstone | 4.0.2-150500.3.3.1 |
| SUSE · SLES 15 SP7 Linux Enterprise Module for Server Applications 15 SP7 | capstone | 4.0.2-150500.3.3.1 |
Vulnerabilities 2
-
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…
-
Medium 4.8
Capstone doesn't check vsnprintf return in SStream_concat, allows stack buffer underflow and overflow
Capstone is a disassembly framework. In versions 6.0.0-Alpha5 and prior, an unchecked vsnprintf return in SStream_concat lets a malicious cs_opt_mem.vsnprintf drive SStream’s index negative or past the end, leading to a stack buffer underflow/overflow when th…