{
    "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2016-8622",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "curl",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "7.51.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "The Curl Project"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`. Internally, even if this function would be made to allocate a unscape destination buffer larger than 2GB, it would return that new length in a signed 32 bit integer variable, thus the length would get either just truncated or both truncated and turned negative. That could then lead to libcurl writing outside of its heap based buffer."
            }
        ]
    },
    "impact": {
        "cvss": [
            [
                {
                    "vectorString": "3.7/CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "version": "3.0"
                }
            ],
            [
                {
                    "vectorString": "2.6/AV:N/AC:H/Au:N/C:N/I:P/A:N",
                    "version": "2.0"
                }
            ]
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-190"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-122"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2018:3558",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:3558"
            },
            {
                "name": "https://curl.haxx.se/docs/adv_20161102H.html",
                "refsource": "CONFIRM",
                "url": "https://curl.haxx.se/docs/adv_20161102H.html"
            },
            {
                "name": "https://www.tenable.com/security/tns-2016-21",
                "refsource": "CONFIRM",
                "url": "https://www.tenable.com/security/tns-2016-21"
            },
            {
                "name": "1037192",
                "refsource": "SECTRACK",
                "url": "http://www.securitytracker.com/id/1037192"
            },
            {
                "name": "http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html",
                "refsource": "CONFIRM",
                "url": "http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html"
            },
            {
                "name": "94105",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/94105"
            },
            {
                "name": "RHSA-2018:2486",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2018:2486"
            },
            {
                "name": "GLSA-201701-47",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201701-47"
            },
            {
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622",
                "refsource": "CONFIRM",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8622"
            }
        ]
    }
}