public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-gstreamer1-plugins-base] f43: Backport fix for CVE-2026-18297
Date: Tue, 25 Aug 2026 21:21:22 GMT	[thread overview]
Message-ID: <178769288240.1.7999068315102953047.rpms-mingw-gstreamer1-plugins-base-dceae4937130@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-25 21:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178769288240.1.7999068315102953047.rpms-mingw-gstreamer1-plugins-base-dceae4937130@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox