CVE-2022-3341 json
A null pointer dereference issue was discovered in 'FFmpeg' in `decode_main_header()` function of...
published 3y ago modified 3mo ago also EUVD-2022-42728 , JLSEC-2025-122
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia FFMPEG_jll 6.1.1+0
- julia FFplay_jll 7.1.0+0
- ffmpeg ffmpeg 5.0.3
- ffmpeg Debian 14, Debian 13, Debian 12 7:5.1-1
debian advisories DEBIAN-CVE-2022-3341
- ffmpeg Ubuntu Pro 16.04 LTS 7:2.8.17-0ubuntu0.1+esm5
- ffmpeg Ubuntu Pro 18.04 LTS 7:3.4.11-0ubuntu0.1+esm1
- ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm1
- ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm1
ubuntu advisories UBUNTU-CVE-2022-3341
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ffmpeg SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS +1 more 3.4.2-150000.4.53.2
- ffmpeg SLE Workstation Extension 15 SP4, SLE Real Time 15 SP3, SLE Module for Package Hub 15 SP4 +2 more 3.4.2-150200.11.25.1
- ffmpeg-4 SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP4, SLE Module for Desktop Applications 15 SP4 +1 more 4.4-150400.3.11.1
suse advisories SUSE-SU-2023:2115-1SUSE-SU-2023:0206-1SUSE-SU-2023:0172-1
- ffmpeg-4 openSUSE Tumbleweed 4.4.3-4.1
opensuse advisories openSUSE-SU-2024:12636-1
Is CVE-2022-3341 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-3341 updated cvss 5.5
ffmpeg: null pointer dereference in decode_main_header() in libavformat/nutdec.c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | FFMPEG_jll | <6.1.1+0 |
6.1.1+0 |
| julia | FFplay_jll | <7.1.0+0 |
7.1.0+0 |
Affected products
- n/a FFmpeg
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e
patch, third-party-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2157054
issue-tracking, patch, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2023/06/msg00016.html
mailing-list, third-party-advisory, web
Sources
- CVE List CVE-2022-3341
- NVD CVE-2022-3341
- OSV JLSEC-2025-122
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.