CVE-2022-3341

NameCVE-2022-3341
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)buster7:4.1.9-0+deb10u1vulnerable
buster (security)7:4.1.10-0+deb10u1vulnerable
bullseye (security), bullseye7:4.3.5-0+deb11u1vulnerable
bookworm, sid7:5.1.2-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsource(unstable)7:5.1-1

Notes

[bullseye] - ffmpeg <postponed> (Minor issue, wait until fixed in 4.3.x)
[buster] - ffmpeg <postponed> (Minor issue, wait until fixed in 4.1.x)
https://bugzilla.redhat.com/show_bug.cgi?id=2157054
https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e (n5.1)

Search for package or bug name: Reporting problems