CVE Vulnerabilities

CVE-2022-3341

NULL Pointer Dereference

Published: Jan 12, 2023 | Modified: Aug 07, 2025
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
Debian_linuxDebian10.0 (including)10.0 (including)
FfmpegUbuntubionic*
FfmpegUbuntuesm-apps/bionic*
FfmpegUbuntuesm-apps/focal*
FfmpegUbuntuesm-apps/jammy*
FfmpegUbuntuesm-apps/xenial*
FfmpegUbuntufocal*
FfmpegUbuntujammy*
FfmpegUbuntutrusty*
FfmpegUbuntuupstream*
FfmpegUbuntuxenial*

Potential Mitigations

References