Skip to content
OpenAdvisories
Medium · 5.3 CVE-2022-3341 EUVD-2022-42728GHSA-wp84-qf9p-3vp8

A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs …

Published Jan 12, 2023 · Updated Apr 8, 2025 · Assigned by fedora

Description

A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of libavformat/nutdec.c file. The flaw occurs because the function lacks check of the return value of avformat_new_stream() and triggers the null pointer dereference error, causing an application to crash.

Affected products

VendorProductAffectedFixed
— FFmpeg Fixed-in ffmpeg 5.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:5.1-1 —
Debian 13 ffmpeg 7:5.1-1 —
Debian 12 ffmpeg 7:5.1-1 —
Debian 11 ffmpeg 7:4.3.6-0+deb11u1 DSA-5394-1
Debian 10 ffmpeg 7:4.1.11-0+deb10u1 DLA-3454-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm1 USN-5958-1
Ubuntu Pro 20.04 LTS ffmpeg 7:4.2.7-0ubuntu0.1+esm1 USN-5958-1
Ubuntu Pro 18.04 LTS ffmpeg 7:3.4.11-0ubuntu0.1+esm1 USN-5958-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS ffmpeg 7:2.8.17-0ubuntu0.1+esm5 USN-5958-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 ffmpeg 3.4.2-150200.11.25.1 SUSE-SU-2023:0206-1
SLES 15 SP4 ffmpeg-4 4.4-150400.3.11.1 SUSE-SU-2023:0172-1
SLES 15 SP1 ffmpeg 3.4.2-150000.4.53.2 SUSE-SU-2023:2115-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 ffmpeg 3.4.2-150000.4.53.2 SUSE-SU-2023:2115-1
SLE Real Time 15 SP3 ffmpeg 3.4.2-150200.11.25.1 SUSE-SU-2023:0206-1
SLE HPC 15 SP1 ffmpeg 3.4.2-150000.4.53.2 SUSE-SU-2023:2115-1
SUSE Enterprise Storage 6 ffmpeg 3.4.2-150000.4.53.2 SUSE-SU-2023:2115-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ffmpeg-4 4.4.3-4.1 openSUSE-SU-2024:12636-1
openSUSE Leap 15.4 ffmpeg 3.4.2-150200.11.25.1 SUSE-SU-2023:0206-1
openSUSE Leap 15.4 ffmpeg-4 4.4-150400.3.11.1 SUSE-SU-2023:0172-1

Advisories 8

References