{"id":"CVE-2022-3341","details":"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.","modified":"2026-04-10T04:48:29.946477Z","published":"2023-01-12T15:15:10.007Z","related":["MGASA-2023-0043","SUSE-SU-2023:0172-1","SUSE-SU-2023:0206-1","SUSE-SU-2023:2115-1","openSUSE-SU-2024:12636-1"],"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00016.html"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2157054"},{"type":"FIX","url":"https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ffmpeg/ffmpeg","events":[{"introduced":"0"},{"fixed":"0e15444aceca0e78f99f3d67758eb79d11b86599"},{"fixed":"9cf652cef49d74afe3d454f27d49eb1a1394951e"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"5.0.3"}]}}],"versions":["N","n0.11-dev","n0.12-dev","n0.8","n1.1-dev","n1.2-dev","n1.3-dev","n2.0","n2.1-dev","n2.2-dev","n2.3-dev","n2.4-dev","n2.5-dev","n2.6-dev","n2.7-dev","n2.8-dev","n2.9-dev","n3.1-dev","n3.2-dev","n3.3-dev","n3.4-dev","n3.5-dev","n4.1-dev","n4.2-dev","n4.3-dev","n4.4-dev","n4.5-dev","n5.0","n5.0.1","n5.0.2","n5.1-dev"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"10.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3341.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}