CVE-2022-3341
Ffmpeg vulnerability analysis and mitigation

Overview

CVE-2022-3341 is a null pointer dereference vulnerability discovered in FFmpeg's decode_main_header() function within the libavformat/nutdec.c file. The vulnerability was disclosed on January 12, 2023, and affects multiple versions of FFmpeg. The flaw occurs because the function lacks a check of the return value of avformat_new_stream(), which can trigger a null pointer dereference error (NVD, Ubuntu).

Technical details

The vulnerability exists in the decode_main_header() function of libavformat/nutdec.c where the code fails to verify the return value of avformat_new_stream(). This oversight can lead to a null pointer dereference, causing the application to crash. The issue has been assigned a CVSS 3.1 base score of 5.3 (Medium), with attack vector being Network, attack complexity Low, and requiring no privileges or user interaction (Ubuntu).

Impact

When exploited, this vulnerability can cause a denial of service condition through application crash. The impact is primarily limited to availability, with no direct effect on confidentiality or integrity of the system (Ubuntu Security Notice).

Exploitability

The vulnerability can be triggered remotely through network access, requires low attack complexity, and needs no special privileges or user interaction to exploit. The scope is unchanged, affecting only the vulnerable component (Ubuntu).

Mitigation and workarounds

A fix has been implemented in FFmpeg through commit 9cf652c, which adds proper checking for the return value of avformat_new_stream() and propagates the error code appropriately. Various Linux distributions have released patched versions, including Ubuntu 22.04 LTS (7:4.4.2-0ubuntu0.22.04.1+esm1), Ubuntu 20.04 LTS (7:4.2.7-0ubuntu0.1+esm1), and Debian 10 (7:4.1.11-0+deb10u1) (FFmpeg Commit, Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Ffmpeg vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-70632HIGH8.5
  • Ffmpeg logoFfmpeg
  • ffmpeg
NoYesAug 06, 2026
CVE-2026-70628HIGH8.5
  • Ffmpeg logoFfmpeg
  • ffmpeg
NoYesAug 06, 2026
CVE-2026-70631MEDIUM6.8
  • Ffmpeg logoFfmpeg
  • ffmpeg
NoYesAug 06, 2026
CVE-2026-70630MEDIUM6.8
  • Ffmpeg logoFfmpeg
  • ffmpeg
NoYesAug 06, 2026
CVE-2026-70629MEDIUM6.8
  • Ffmpeg logoFfmpeg
  • ffmpeg
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management