{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2022-1616",
        "STATE": "PUBLIC",
        "TITLE": "Use after free in append_command in vim/vim"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "vim/vim",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_value": "8.2.4895"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "vim"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Use after free in append_command in GitHub repository vim/vim prior to 8.2.4895. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution"
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-416 Use After Free"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://huntr.dev/bounties/40f1d75f-fb2f-4281-b585-a41017f217e2",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/40f1d75f-fb2f-4281-b585-a41017f217e2"
            },
            {
                "name": "https://github.com/vim/vim/commit/d88934406c5375d88f8f1b65331c9f0cab68cc6c",
                "refsource": "MISC",
                "url": "https://github.com/vim/vim/commit/d88934406c5375d88f8f1b65331c9f0cab68cc6c"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-e92c3ce170",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6BY5P7ERZS7KXSBCGFCOXLMLGWUUJIH/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-f0db3943d9",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JUN33257RUM4RS2I4GZETKFSAXPETATG/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220516 [SECURITY] [DLA 3011-1] vim security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-8df66cdbef",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-32",
                "url": "https://security.gentoo.org/glsa/202208-32"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213488",
                "url": "https://support.apple.com/kb/HT213488"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13",
                "url": "http://seclists.org/fulldisclosure/2022/Oct/41"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13",
                "url": "http://seclists.org/fulldisclosure/2022/Oct/28"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202305-16",
                "url": "https://security.gentoo.org/glsa/202305-16"
            }
        ]
    },
    "source": {
        "advisory": "40f1d75f-fb2f-4281-b585-a41017f217e2",
        "discovery": "EXTERNAL"
    }
}