{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-3341",
        "ASSIGNER": "patrick@puiterwijk.org",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "FFmpeg",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed-in ffmpeg 5.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-476 - NULL Pointer Dereference"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2157054",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2157054"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e",
                "url": "https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230613 [SECURITY] [DLA 3454-1] ffmpeg security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00016.html"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    }
}