Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package capstone for openSUSE:Factory 
checked in at 2026-11-20 14:44:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/capstone (Old)
 and      /work/SRC/openSUSE:Factory/.capstone.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "capstone"

Fri Nov 20 14:44:11 2026 rev:8 rq:1398622 version:5.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/capstone/capstone.changes        2026-06-27 
18:02:42.165137671 +0200
+++ /work/SRC/openSUSE:Factory/.capstone.new.1251/capstone.changes      
2026-11-20 14:45:25.034063826 +0100
@@ -1,0 +2,24 @@
+Fri Nov 13 08:54:27 UTC 2026 - Andrea Manzini <[email protected]>
+
+- Update to version 5.0.9 (also covers 5.0.7 and 5.0.8):
+  * 5.0.7: set the CMake project version when passed empty, and
+    security fixes:
+    + CVE-2025-68114: unchecked vsnprintf return in SStream_concat
+      allowed stack buffer underflow and overflow (boo#1255310)
+    + CVE-2025-67873: unchecked skipdata length led to a heap
+      buffer overflow in cs_insn.bytes (boo#1255309)
+  * 5.0.8: faster x86 decoding, x86 MOVSXD support, Python
+    bindings load libcapstone.so with RTLD_DEEPBIND,
+    cs_disasm_iter returns early on zero-size input, and:
+    + CVE-2026-47143: NULL pointer dereference in
+      modRMRequired() (boo#1272217)
+  * 5.0.9: security fixes:
+    + CVE-2026-49263: WASM br_table instruction-size truncation
+      could cause no-progress disassembly (boo#1275286)
+- CVE-2026-49282: out-of-bounds read in M68K cs_insn_name() for
+  invalid instruction IDs; the bounds check added in 5.0.9 is off
+  by one (boo#1275287)
+  * capstone-m68k-insn-name-off-by-one.patch
+- Drop the obsolete Group tags from the spec file
+
+-------------------------------------------------------------------

Old:
----
  capstone-5.0.6.tar.gz

New:
----
  capstone-5.0.9.tar.gz
  capstone-m68k-insn-name-off-by-one.patch

----------(New B)----------
  New:  by one (boo#1275287)
  * capstone-m68k-insn-name-off-by-one.patch
- Drop the obsolete Group tags from the spec file
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ capstone.spec ++++++
--- /var/tmp/diff_new_pack.wrBJXn/_old  2026-11-20 14:45:27.356162185 +0100
+++ /var/tmp/diff_new_pack.wrBJXn/_new  2026-11-20 14:45:27.358162269 +0100
@@ -19,13 +19,14 @@
 %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
 %define sover   5
 Name:           capstone
-Version:        5.0.6
+Version:        5.0.9
 Release:        0
 Summary:        A multi-platform, multi-architecture disassembly framework
 License:        BSD-3-Clause
-Group:          Development/Tools/Building
 URL:            https://www.capstone-engine.org
 Source:         
https://github.com/capstone-engine/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM capstone-m68k-insn-name-off-by-one.patch 
https://github.com/capstone-engine/capstone/commit/7441aee2280516042561035ebca99a600c66d57d
+Patch0:         capstone-m68k-insn-name-off-by-one.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -43,14 +44,12 @@
 
 %package -n libcapstone%{sover}
 Summary:        A multi-platform, multi-architecture disassembly framework
-Group:          System/Libraries
 
 %description -n libcapstone%{sover}
 Capstone is a disassembly framework.
 
 %package -n libcapstone-devel
 Summary:        Development files to build upon libcapstone
-Group:          Development/Libraries/C and C++
 Requires:       libcapstone%{sover} = %{version}
 
 %description -n libcapstone-devel
@@ -58,15 +57,13 @@
 
 %package -n libcapstone-devel-static
 Summary:        Static library for capstone
-Group:          Development/Libraries/C and C++
-Requires:       libcapstone-devel = %{version}
+Requires:       pkgconfig(capstone) = %{version}
 
 %description -n libcapstone-devel-static
 Statically linked libcapstone.
 
 %package doc
 Summary:        Documentation for capstone, a disassembly framework
-Group:          Documentation/Other
 BuildArch:      noarch
 
 %description doc
@@ -74,7 +71,6 @@
 
 %package -n python3-capstone
 Summary:        Python bindings for the Capstone disassembly framework
-Group:          Development/Languages/Python
 BuildArch:      noarch
 
 %description -n python3-capstone
@@ -83,7 +79,7 @@
 This package contains the Capstone bindings for Python.
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %define __builder ninja

++++++ capstone-5.0.6.tar.gz -> capstone-5.0.9.tar.gz ++++++
/work/SRC/openSUSE:Factory/capstone/capstone-5.0.6.tar.gz 
/work/SRC/openSUSE:Factory/.capstone.new.1251/capstone-5.0.9.tar.gz differ: 
char 30, line 1

++++++ capstone-m68k-insn-name-off-by-one.patch ++++++
# PATCH-FIX-UPSTREAM capstone-m68k-insn-name-off-by-one.patch -- 
https://github.com/capstone-engine/capstone/commit/7441aee2280516042561035ebca99a600c66d57d
# CVE-2026-49282: M68K_insn_name() still read one entry past the table
--- a/arch/M68K/M68KInstPrinter.c
+++ b/arch/M68K/M68KInstPrinter.c
@@ -362,7 +362,7 @@ const char* M68K_insn_name(csh handle, unsigned int id)
 #ifdef CAPSTONE_DIET
        return NULL;
 #else
-       if (id > ARR_SIZE(s_instruction_names)) {
+       if (id >= ARR_SIZE(s_instruction_names)) {
                return NULL;
        }
        return s_instruction_names[id];

Reply via email to