public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mingw-gstreamer1-plugins-base] f43: Backport fix for CVE-2026-18297
@ 2026-08-25 21:21 Sandro Mani
  0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-08-25 21:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/mingw-gstreamer1-plugins-base
Branch : f43
Commit : dceae493713075c931c974a3715182137b740a5c
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-08-25T23:21:14+02:00
Stats  : +16/-1 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/mingw-gstreamer1-plugins-base/c/dceae493713075c931c974a3715182137b740a5c?branch=f43

Log:
Backport fix for CVE-2026-18297

---
diff --git a/CVE-2026-18297.patch b/CVE-2026-18297.patch
new file mode 100644
index 0000000..d48d750
--- /dev/null
+++ b/CVE-2026-18297.patch
@@ -0,0 +1,12 @@
+diff -rupN --no-dereference gst-plugins-base-1.26.11/ext/opus/gstopusdec.c gst-plugins-base-1.26.11-new/ext/opus/gstopusdec.c
+--- gst-plugins-base-1.26.11/ext/opus/gstopusdec.c	2026-03-10 14:08:25.000000000 +0100
++++ gst-plugins-base-1.26.11-new/ext/opus/gstopusdec.c	2026-08-25 23:20:38.015530998 +0200
+@@ -364,6 +364,8 @@ gst_opus_dec_negotiate (GstOpusDec * dec
+     GST_DEBUG_OBJECT (dec, "Using a default of 2 channels");
+     dec->n_channels = 2;
+     pos = NULL;
++  } else if (dec->n_channels > 64) {
++    pos = NULL;
+   }
+ 
+   if (dec->sample_rate == 0) {

diff --git a/gst-plugins-base-build.patch b/gst-plugins-base-build.patch
index 65f6538..6b2a84c 100644
--- a/gst-plugins-base-build.patch
+++ b/gst-plugins-base-build.patch
@@ -1,6 +1,6 @@
 diff -rupN --no-dereference gst-plugins-base-1.26.11/gst-libs/gst/audio/gstaudioutilsprivate.c gst-plugins-base-1.26.11-new/gst-libs/gst/audio/gstaudioutilsprivate.c
 --- gst-plugins-base-1.26.11/gst-libs/gst/audio/gstaudioutilsprivate.c	2026-03-10 14:08:25.000000000 +0100
-+++ gst-plugins-base-1.26.11-new/gst-libs/gst/audio/gstaudioutilsprivate.c	2026-03-27 19:22:05.190317944 +0100
++++ gst-plugins-base-1.26.11-new/gst-libs/gst/audio/gstaudioutilsprivate.c	2026-08-25 23:20:37.930027809 +0200
 @@ -301,9 +301,9 @@ __gst_audio_set_thread_priority (gpointe
  
  #ifdef G_OS_WIN32

diff --git a/mingw-gstreamer1-plugins-base.spec b/mingw-gstreamer1-plugins-base.spec
index 5757dad..09de4af 100644
--- a/mingw-gstreamer1-plugins-base.spec
+++ b/mingw-gstreamer1-plugins-base.spec
@@ -12,6 +12,9 @@ URL:            http://gstreamer.freedesktop.org/
 Source:         http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz
 # Fix build
 Patch0:         gst-plugins-base-build.patch
+# Backport fix for CVE-2026-18297
+# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/12044.patch
+Patch1:         CVE-2026-18297.patch
 
 BuildArch:      noarch
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25 21:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 21:21 [rpms/mingw-gstreamer1-plugins-base] f43: Backport fix for CVE-2026-18297 Sandro Mani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox