From: Bhavesh R Maheshwari <[email protected]> Pick the patch from [1], also referenced in the NVD report [2].
[1] https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/86708357d126af84c16f80d9c57335d1e8c845c5 [2] https://nvd.nist.gov/vuln/detail/cve-2026-66037 Signed-off-by: Bhavesh R Maheshwari <[email protected]> --- .../ffmpeg/ffmpeg/CVE-2026-66037.patch | 39 +++++++++++++++++++ .../recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-66037.patch diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-66037.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-66037.patch new file mode 100644 index 0000000000..1b93c0ca86 --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/CVE-2026-66037.patch @@ -0,0 +1,39 @@ +From f02c8cd37dee2b333de229c6ac6834322f56e2c9 Mon Sep 17 00:00:00 2001 +From: Michael Niedermayer <[email protected]> +Date: Sun, 28 Jun 2026 22:05:28 +0200 +Subject: [PATCH] avformat/iamf_parse: check count_label against the available + bytes + +Fixes: unbounded allocation / denial of service +Fixes: tP59h4cpaFyg +Fixes: 4ee05182b7 (avformat: Immersive Audio Model and Formats demuxer) +Found-by: Adrian Junge (vurlo) +Signed-off-by: Michael Niedermayer <[email protected]> + +CVE: CVE-2026-66037 +Upstream-Status: Backport [https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/86708357d126af84c16f80d9c57335d1e8c845c5] + +Signed-off-by: Bhavesh R Maheshwari <[email protected]> +--- + libavformat/iamf_parse.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c +index 29b8acd351..a36759e282 100644 +--- a/libavformat/iamf_parse.c ++++ b/libavformat/iamf_parse.c +@@ -969,6 +969,11 @@ static int mix_presentation_obu(void *s, IAMFContext *c, AVIOContext *pb, int le + mix_presentation->cmix = mix; + + mix_presentation->count_label = ffio_read_leb(pbc); ++ if (mix_presentation->count_label > len - avio_tell(pbc)) { ++ mix_presentation->count_label = 0; ++ ret = AVERROR_INVALIDDATA; ++ goto fail; ++ } + mix_presentation->language_label = av_calloc(mix_presentation->count_label, + sizeof(*mix_presentation->language_label)); + if (!mix_presentation->language_label) { +-- +2.53.0 + diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb index 42ec15bf81..c0623987f4 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_8.0.3.bb @@ -39,6 +39,7 @@ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://CVE-2026-65706.patch \ file://CVE-2026-66036_p1.patch \ file://CVE-2026-66036_p2.patch \ + file://CVE-2026-66037.patch \ " SRC_URI[sha256sum] = "6136812ea6d4e68bdba27e33c2a94382711cdf4f8602ffef056ff792bd6f9818" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#246383): https://lists.openembedded.org/g/openembedded-core/message/246383 Mute This Topic: https://lists.openembedded.org/mt/121370955/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
