CVE-2022-3341
A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
5.3
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.
- Record
CVE-2022-3341- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List
5.3
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.
- Record
CVE-2022-3341- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-476
- Updated
- 2026-11-02
EUVDEUVD-2022-42728
5.3
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.
- Record
EUVD-2022-42728- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-wp84-qf9p-3vp8
5.3
A null pointer dereference issue was discovered in 'FFmpeg' in decode_main_header() function of...
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.
- Record
GHSA-wp84-qf9p-3vp8- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-476
- Updated
- 2026-11-02
OSV
5.3
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.
- Record
CVE-2022-3341- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-476
- Updated
- 2026-11-07
OSVDEBIAN-CVE-2022-3341
5.3
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.
- Record
DEBIAN-CVE-2022-3341- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
Show 12 moreShow less
OSVJLSEC-2025-122
5.3
A null pointer dereference issue was discovered in 'FFmpeg' in `decode_main_header()` function of...
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.
- Record
JLSEC-2025-122- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2024-1759
5.3
ffmpeg security update
FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
Security Fix(es):
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.(CVE-2022-3341)
- Record
OESA-2024-1759- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2024-1760
6.3
ffmpeg security update
FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
Security Fix(es):
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.(CVE-2022-3341)
Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via a floating point exception (FPE) error at libavfilter/vf_minterpolate.c:1078:60 in interpolate.(CVE-2023-51798)
- Record
OESA-2024-1760- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2024-1761
6.3
ffmpeg security update
FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
Security Fix(es):
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.(CVE-2022-3341)
Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via a floating point exception (FPE) error at libavfilter/vf_minterpolate.c:1078:60 in interpolate.(CVE-2023-51798)
- Record
OESA-2024-1761- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVOESA-2024-1831
5.5
ffmpeg security update
FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
Security Fix(es):
Integer overflow vulnerability in av_timecode_make_string in libavutil/timecode.c in FFmpeg version 4.3.2, allows local attackers to cause a denial of service (DoS) via crafted .mov file.(CVE-2021-28429)
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.(CVE-2022-3341)
- Record
OESA-2024-1831- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-3341
5.3
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.
- Record
UBUNTU-CVE-2022-3341- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVMGASA-2023-0043 No score
Updated ffmpeg packages fix security vulnerability
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. (CVE-2022-3341)
- Record
MGASA-2023-0043- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12636-1 No score
ffmpeg-4-4.4.3-4.1 on GA media
These are all security issues fixed in the ffmpeg-4-4.4.3-4.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12636-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0172-1 No score
Security update for ffmpeg-4
This update for ffmpeg-4 fixes the following issues:
- CVE-2022-3341: Fixed a potential crash when processing a crafted NUT stream (bsc#1206778).
- Record
SUSE-SU-2023:0172-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0206-1 No score
Security update for ffmpeg
This update for ffmpeg fixes the following issues:
- CVE-2022-3341: Fixed a potential crash when processing a crafted NUT stream (bsc#1206778).
- CVE-2019-13390: Fixed a potential crash when processing a crafted AVI stream (bsc#1140754).
- Record
SUSE-SU-2023:0206-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:2115-1 No score
Security update for ffmpeg
This update for ffmpeg fixes the following issues:
- CVE-2019-13390: Fixed a potential crash when processing a crafted AVI stream (bsc#1140754).
- CVE-2022-3341: Fixed a potential crash when processing a crafted NUT stream (bsc#1206778).
- CVE-2022-48434: Fixed use after free in libavcodec/pthread_frame.c (bsc#1209934).
- Record
SUSE-SU-2023:2115-1- Updated
- 2026-11-02
OSVUSN-5958-1 No score
ffmpeg vulnerabilities
It was discovered that FFmpeg could be made to dereference a null pointer. An attacker could possibly use this to cause a denial of service via application crash. These issues only affected Ubuntu 16.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-3109, CVE-2022-3341)
It was discovered that FFmpeg could be made to access an out-of-bounds frame by the Apple RPZA encoder. An attacker could possibly use this to cause a denial of service via application crash or access sensitive information. This issue only affected Ubuntu 22.04 LTS and Ubuntu 22.10. (CVE-2022-3964)
It was discovered that FFmpeg could be made to access an out-of-bounds frame by the QuickTime encoder. An attacker could possibly use this to cause a denial of service via application crash or access sensitive information. This issue only affected Ubuntu 22.10. (CVE-2022-3965)
- Record
USN-5958-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ffmpegDebian:12 |
before 7:5.1-1 | 7:5.1-1 |
ffmpegDebian:13 |
before 7:5.1-1 | 7:5.1-1 |
ffmpegDebian:14 |
before 7:5.1-1 | 7:5.1-1 |
ffmpegDebian:10 From an advisory covering 2 CVEs |
before 7:4.1.11-0+deb10u1, plus listed versions 7:4.1.10-0+deb10u17:4.1.3-17:4.1.4-17:4.1.4-1~deb10u17:4.1.6-1~deb10u17:4.1.8-0+deb10u17:4.1.9-0+deb10u1 |
7:4.1.11-0+deb10u1 |
ffmpegDebian:11 From an advisory covering 2 CVEs |
before 7:4.3.6-0+deb11u1, plus listed versions 7:4.3.2-0+deb11u27:4.3.2-17:4.3.2-27:4.3.3-0+deb11u17:4.3.4-0+deb11u17:4.3.5-0+deb11u1 |
7:4.3.6-0+deb11u1 |
FFMPEG_jllJulia |
before 6.1.1+0 | 6.1.1+0 |
FFplay_jllJulia |
before 7.1.0+0 | 7.1.0+0 |
ffmpegMageia:8 |
before 4.3.5-1.2.mga8 | 4.3.5-1.2.mga8 |
ffmpegMageia:8 |
before 4.3.5-1.2.mga8.tainted | 4.3.5-1.2.mga8.tainted |
ffmpegopenEuler:20.03-LTS-SP4 |
before 4.2.4-7.oe2003sp4 | 4.2.4-7.oe2003sp4 |
Show 25 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ffmpegopenEuler:22.03-LTS-SP1 From an advisory covering 2 CVEs |
before 4.2.4-8.oe2203sp1 | 4.2.4-8.oe2203sp1 |
ffmpegopenEuler:22.03-LTS-SP3 From an advisory covering 2 CVEs |
before 4.2.4-8.oe2203sp3 | 4.2.4-8.oe2203sp3 |
ffmpegopenEuler:22.03-LTS-SP4 From an advisory covering 2 CVEs |
before 4.2.4-14.oe2203sp4 | 4.2.4-14.oe2203sp4 |
ffmpeg-4SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 |
before 4.4-150400.3.11.1 | 4.4-150400.3.11.1 |
ffmpeg-4SUSE:Linux Enterprise Module for Package Hub 15 SP4 |
before 4.4-150400.3.11.1 | 4.4-150400.3.11.1 |
ffmpeg-4SUSE:Linux Enterprise Workstation Extension 15 SP4 |
before 4.4-150400.3.11.1 | 4.4-150400.3.11.1 |
ffmpeg-4openSUSE:Leap 15.4 |
before 4.4-150400.3.11.1 | 4.4-150400.3.11.1 |
ffmpegSUSE:Linux Enterprise Module for Desktop Applications 15 SP4 From an advisory covering 2 CVEs |
before 3.4.2-150200.11.25.1 | 3.4.2-150200.11.25.1 |
ffmpegSUSE:Linux Enterprise Module for Package Hub 15 SP4 From an advisory covering 2 CVEs |
before 3.4.2-150200.11.25.1 | 3.4.2-150200.11.25.1 |
ffmpegSUSE:Linux Enterprise Real Time 15 SP3 From an advisory covering 2 CVEs |
before 3.4.2-150200.11.25.1 | 3.4.2-150200.11.25.1 |
ffmpegSUSE:Linux Enterprise Workstation Extension 15 SP4 From an advisory covering 2 CVEs |
before 3.4.2-150200.11.25.1 | 3.4.2-150200.11.25.1 |
ffmpegopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 3.4.2-150200.11.25.1 | 3.4.2-150200.11.25.1 |
ffmpegSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS From an advisory covering 3 CVEs |
before 3.4.2-150000.4.53.2 | 3.4.2-150000.4.53.2 |
ffmpegSUSE:Linux Enterprise Server 15 SP1-LTSS From an advisory covering 3 CVEs |
before 3.4.2-150000.4.53.2 | 3.4.2-150000.4.53.2 |
ffmpegSUSE:Linux Enterprise Server for SAP Applications 15 SP1 From an advisory covering 3 CVEs |
before 3.4.2-150000.4.53.2 | 3.4.2-150000.4.53.2 |
ffmpegSUSE:Enterprise Storage 6 From an advisory covering 3 CVEs |
before 3.4.2-150000.4.53.2 | 3.4.2-150000.4.53.2 |
ffmpegUbuntu:Pro:16.04:LTS |
before 7:2.8.17-0ubuntu0.1+esm5, plus listed versions 7:2.7.2-1build17:2.8.1-1ubuntu17:2.8.2-1ubuntu17:2.8.3-17:2.8.4-1 Show 17 moreShow less7:2.8.4-1ubuntu17:2.8.4-1ubuntu27:2.8.4-1ubuntu37:2.8.4-1ubuntu47:2.8.6-1ubuntu17:2.8.6-1ubuntu27:2.8.8-0ubuntu0.16.04.17:2.8.10-0ubuntu0.16.04.17:2.8.11-0ubuntu0.16.04.17:2.8.14-0ubuntu0.16.04.17:2.8.15-0ubuntu0.16.04.17:2.8.15-0ubuntu0.16.04.1+esm17:2.8.17-0ubuntu0.17:2.8.17-0ubuntu0.1+esm17:2.8.17-0ubuntu0.1+esm27:2.8.17-0ubuntu0.1+esm37:2.8.17-0ubuntu0.1+esm4 |
7:2.8.17-0ubuntu0.1+esm5 |
ffmpegUbuntu:Pro:18.04:LTS |
before 7:3.4.11-0ubuntu0.1+esm1, plus listed versions 7:3.3.4-27:3.3.4-2build37:3.4-2ubuntu27:3.4-47:3.4-4build1 Show 9 moreShow less7:3.4.1-17:3.4.1-1build17:3.4.2-17:3.4.2-1build17:3.4.2-27:3.4.4-0ubuntu0.18.04.17:3.4.6-0ubuntu0.18.04.17:3.4.8-0ubuntu0.27:3.4.11-0ubuntu0.1 |
7:3.4.11-0ubuntu0.1+esm1 |
ffmpegUbuntu:Pro:20.04:LTS |
before 7:4.2.7-0ubuntu0.1+esm1, plus listed versions 7:4.1.4-1build27:4.2.1-27:4.2.1-2ubuntu17:4.2.2-1build17:4.2.2-1ubuntu17:4.2.4-1ubuntu0.17:4.2.4-1ubuntu0.1+esm17:4.2.7-0ubuntu0.1 |
7:4.2.7-0ubuntu0.1+esm1 |
ffmpegUbuntu:Pro:22.04:LTS |
before 7:4.4.2-0ubuntu0.22.04.1+esm1, plus listed versions 7:4.4-6ubuntu57:4.4.1-2ubuntu17:4.4.1-3ubuntu17:4.4.1-3ubuntu27:4.4.1-3ubuntu37:4.4.1-3ubuntu57:4.4.2-0ubuntu0.22.04.1 |
7:4.4.2-0ubuntu0.22.04.1+esm1 |
ffmpegUbuntu:Pro:16.04:LTS From an advisory covering 4 CVEs |
before 7:2.8.17-0ubuntu0.1+esm5, plus listed versions 7:2.7.2-1build17:2.8.1-1ubuntu17:2.8.2-1ubuntu17:2.8.3-17:2.8.4-1 Show 17 moreShow less7:2.8.4-1ubuntu17:2.8.4-1ubuntu27:2.8.4-1ubuntu37:2.8.4-1ubuntu47:2.8.6-1ubuntu17:2.8.6-1ubuntu27:2.8.8-0ubuntu0.16.04.17:2.8.10-0ubuntu0.16.04.17:2.8.11-0ubuntu0.16.04.17:2.8.14-0ubuntu0.16.04.17:2.8.15-0ubuntu0.16.04.17:2.8.15-0ubuntu0.16.04.1+esm17:2.8.17-0ubuntu0.17:2.8.17-0ubuntu0.1+esm17:2.8.17-0ubuntu0.1+esm27:2.8.17-0ubuntu0.1+esm37:2.8.17-0ubuntu0.1+esm4 |
7:2.8.17-0ubuntu0.1+esm5 |
ffmpegUbuntu:Pro:18.04:LTS From an advisory covering 4 CVEs |
before 7:3.4.11-0ubuntu0.1+esm1, plus listed versions 7:3.3.4-27:3.3.4-2build37:3.4-2ubuntu27:3.4-47:3.4-4build1 Show 9 moreShow less7:3.4.1-17:3.4.1-1build17:3.4.2-17:3.4.2-1build17:3.4.2-27:3.4.4-0ubuntu0.18.04.17:3.4.6-0ubuntu0.18.04.17:3.4.8-0ubuntu0.27:3.4.11-0ubuntu0.1 |
7:3.4.11-0ubuntu0.1+esm1 |
ffmpegUbuntu:Pro:20.04:LTS From an advisory covering 4 CVEs |
before 7:4.2.7-0ubuntu0.1+esm1, plus listed versions 7:4.1.4-1build27:4.2.1-27:4.2.1-2ubuntu17:4.2.2-1build17:4.2.2-1ubuntu17:4.2.4-1ubuntu0.17:4.2.4-1ubuntu0.1+esm17:4.2.7-0ubuntu0.1 |
7:4.2.7-0ubuntu0.1+esm1 |
ffmpegUbuntu:Pro:22.04:LTS From an advisory covering 4 CVEs |
before 7:4.4.2-0ubuntu0.22.04.1+esm1, plus listed versions 7:4.4-6ubuntu57:4.4.1-2ubuntu17:4.4.1-3ubuntu17:4.4.1-3ubuntu27:4.4.1-3ubuntu37:4.4.1-3ubuntu57:4.4.2-0ubuntu0.22.04.1 |
7:4.4.2-0ubuntu0.22.04.1+esm1 |
ffmpeg-4openSUSE:Tumbleweed |
before 4.4.3-4.1 | 4.4.3-4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-3341 is a medium vulnerability (CVSS 5.3) in Ffmpeg, published January 12, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.86%, the 58th percentile. Fixed in ffmpeg 7:5.1-1.
References
bugzilla.redhat.com/show_bug.cgi?id=2157054
github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e
lists.debian.org/debian-lts-announce/2023/06/msg00016.html
nvd.nist.gov/vuln/detail/CVE-2022-3341
github.com/advisories/GHSA-wp84-qf9p-3vp8
github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3341.json
Show 25 moreShow less
security-tracker.debian.org/tracker/CVE-2022-3341
advisories.mageia.org/MGASA-2023-0043.html
bugs.mageia.org/show_bug.cgi?id=31460
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1759
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1760
nvd.nist.gov/vuln/detail/CVE-2023-51798
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1761
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2024-1831
nvd.nist.gov/vuln/detail/CVE-2021-28429
suse.com/support/update/announcement/2023/suse-su-20230172-1
bugzilla.suse.com/1206778
suse.com/security/cve/CVE-2022-3341
suse.com/support/update/announcement/2023/suse-su-20230206-1
bugzilla.suse.com/1140754
suse.com/security/cve/CVE-2019-13390
suse.com/support/update/announcement/2023/suse-su-20232115-1
bugzilla.suse.com/1209934
suse.com/security/cve/CVE-2022-48434
ubuntu.com/security/CVE-2022-3341
ubuntu.com/security/notices/USN-5958-1
cve.org/CVERecord?id=CVE-2022-3341
ubuntu.com/security/CVE-2022-3109
ubuntu.com/security/CVE-2022-3964
ubuntu.com/security/CVE-2022-3965
bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/2007269