* [wrynose][PATCH] ffmpeg: Fix for CVE-2026-75143
@ 2026-11-25 9:25 Abinivesh G A
2026-12-02 15:26 ` Yoann Congal
0 siblings, 1 reply; 2+ messages in thread
From: Abinivesh G A @ 2026-11-25 9:25 UTC (permalink / raw)
To: openembedded-core; +Cc: yoann.congal, bastien.jauny, Abinivesh G A
Pick the patch from [1], also referenced in the NVD report [2].
[1] https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1c10bcc2e17255dacb717a25ab3db142ce390602
[2] https://nvd.nist.gov/vuln/detail/cve-2026-75143
Signed-off-by: Abinivesh G A <Abinivesh.GA@windriver.com>
---
Notes:
Build-tested: bitbake ffmpeg on qemux86-64 (poky wrynose), patch applies without fuzz.
RIST support is not enabled by default (no librist PACKAGECONFIG).
master (ffmpeg 9.0.2) already contains the fix, so this goes directly to wrynose.
.../ffmpeg/ffmpeg/CVE-2026-75143.patch | 33 +++++++++++++++++++
.../recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb | 1 +
2 files changed, 34 insertions(+)
create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-75143.patch
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-75143.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-75143.patch
new file mode 100644
index 0000000000..7d4327c00c
--- /dev/null
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-75143.patch
@@ -0,0 +1,33 @@
+From 1c10bcc2e17255dacb717a25ab3db142ce390602 Mon Sep 17 00:00:00 2001
+From: Joshua Rogers <MegaManSec@users.noreply.github.com>
+Date: Tue, 4 Aug 2026 12:11:55 +0000
+Subject: [PATCH] avformat/librist: honor the caller buffer size in
+ librist_read
+
+librist_read() ignored its size argument and copied the full payload_len,
+overflowing a smaller destination (e.g. via the async: wrapper). Clamp the
+copy to the caller-provided buffer size.
+
+Fixes: out of array access
+
+CVE: CVE-2026-75143
+Upstream-Status: Backport [https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1c10bcc2e17255dacb717a25ab3db142ce390602]
+
+Signed-off-by: Abinivesh G A <Abinivesh.GA@windriver.com>
+---
+ libavformat/librist.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libavformat/librist.c b/libavformat/librist.c
+index 9669d5b5df5..3c4b5e3e5b9 100644
+--- a/libavformat/librist.c
++++ b/libavformat/librist.c
+@@ -226,7 +226,7 @@ static int librist_read(URLContext *h, uint8_t *buf, int size)
+ }
+ }
+
+- size = data_block->payload_len;
++ size = FFMIN(data_block->payload_len, size);
+ memcpy(buf, data_block->payload, size);
+ out_free:
+ rist_receiver_data_block_free2(&data_block);
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb
index b92676d4db..fe6286f7dc 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb
@@ -43,6 +43,7 @@ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \
file://CVE-2026-66036_p1.patch \
file://CVE-2026-66036_p2.patch \
file://CVE-2026-66041.patch \
+ file://CVE-2026-75143.patch \
"
SRC_URI[sha256sum] = "6136812ea6d4e68bdba27e33c2a94382711cdf4f8602ffef056ff792bd6f9818"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [wrynose][PATCH] ffmpeg: Fix for CVE-2026-75143
2026-11-25 9:25 [wrynose][PATCH] ffmpeg: Fix for CVE-2026-75143 Abinivesh G A
@ 2026-12-02 15:26 ` Yoann Congal
0 siblings, 0 replies; 2+ messages in thread
From: Yoann Congal @ 2026-12-02 15:26 UTC (permalink / raw)
To: Abinivesh G A, openembedded-core; +Cc: Randy.MacLeod
On Wed Nov 25, 2026 at 10:25 AM CET, Abinivesh G A wrote:
> Pick the patch from [1], also referenced in the NVD report [2].
>
> [1] https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/1c10bcc2e17255dacb717a25ab3db142ce390602
> [2] https://nvd.nist.gov/vuln/detail/cve-2026-75143
>
> Signed-off-by: Abinivesh G A <Abinivesh.GA@windriver.com>
> ---
>
> Notes:
> Build-tested: bitbake ffmpeg on qemux86-64 (poky wrynose), patch applies without fuzz.
> RIST support is not enabled by default (no librist PACKAGECONFIG).
> master (ffmpeg 9.0.2) already contains the fix, so this goes directly to wrynose.
>
> .../ffmpeg/ffmpeg/CVE-2026-75143.patch | 33 +++++++++++++++++++
> .../recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb | 1 +
> 2 files changed, 34 insertions(+)
> create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-75143.patch
We received the same CVE fix a minute ealier for someone else at
Windriver:
https://lore.kernel.org/all/20261125092434.1291033-1-Abhishek.Bachiphale@windriver.com/
Any recomendation on which patch to take?
My default rule is to take the earlier one.
Regards,
--
Yoann Congal
Smile ECS
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-02 15:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 9:25 [wrynose][PATCH] ffmpeg: Fix for CVE-2026-75143 Abinivesh G A
2026-12-02 15:26 ` Yoann Congal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.