new file mode 100644
@@ -0,0 +1,35 @@
+From 178ae5ac20db75e56d65e4c4bc142bb234387807 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
+Date: Fri, 19 Jun 2026 13:48:16 +0300
+Subject: [PATCH] opusdec: Don't use any channel positions for >64 channels
+
+We don't support this.
+
+Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/work_items/5122
+
+Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/12044>
+
+CVE: CVE-2026-18297
+Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/178ae5ac20db75e56d65e4c4bc142bb234387807]
+
+Signed-off-by: Rohini Sangam <rsangam@mvista.com>
+---
+ ext/opus/gstopusdec.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c
+index 03d061a..7c936d0 100644
+--- a/ext/opus/gstopusdec.c
++++ b/ext/opus/gstopusdec.c
+@@ -359,6 +359,8 @@ gst_opus_dec_negotiate (GstOpusDec * dec, const GstAudioChannelPosition * pos)
+ 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) {
+--
+2.44.4
+
@@ -22,6 +22,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba
file://CVE-2025-47808.patch \
file://CVE-2025-47806.patch \
file://CVE-2025-47807.patch \
+ file://CVE-2026-18297.patch \
"
SRC_URI[sha256sum] = "73cfadc3a6ffe77ed974cfd6fb391c605e4531f48db21dd6b9f42b8cb69bd8c1"
Pick patch from [1] also mentioned at Debian tracker in [2] [1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/178ae5ac20db75e56d65e4c4bc142bb234387807 [2] https://security-tracker.debian.org/tracker/CVE-2026-18297 Signed-off-by: Rohini Sangam <rsangam@mvista.com> --- .../CVE-2026-18297.patch | 35 +++++++++++++++++++ .../gstreamer1.0-plugins-base_1.22.12.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/CVE-2026-18297.patch