
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-3341 is a null pointer dereference vulnerability discovered in FFmpeg's decodemainheader() 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 avformatnewstream(), which can trigger a null pointer dereference error (NVD, Ubuntu).
The vulnerability exists in the decodemainheader() function of libavformat/nutdec.c where the code fails to verify the return value of avformatnewstream(). 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).
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).
A fix has been implemented in FFmpeg through commit 9cf652c, which adds proper checking for the return value of avformatnewstream() 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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."