What’s Vulnerable › Vulnerabilities
CVE-2022-3341
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-12 · updated 2026-06-17
- Weakness: CWE-476
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
- Debian Linux: 10.0
- FFmpeg: before 5.0.3 — fixed in 5.0.3
How to fix
Upgrade to a fixed version: FFmpeg 5.0.3. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2157054
- https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e
- https://lists.debian.org/debian-lts-announce/2023/06/msg00016.html
- https://bugzilla.redhat.com/show_bug.cgi?id=2157054
- https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e
- https://lists.debian.org/debian-lts-announce/2023/06/msg00016.html
Get alerted when CVE-2022-3341 or the next vulnerability affects your stack