{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "generator": {
        "engine": "Vulnogram 0.0.7"
    },
    "CVE_data_meta": {
        "ID": "CVE-2019-11038",
        "ASSIGNER": "security@php.net",
        "DATE_PUBLIC": "2019-05-28T06:49:00.000Z",
        "TITLE": "Uninitialized read in gdImageCreateFromXbm",
        "AKA": "",
        "STATE": "PUBLIC"
    },
    "source": {
        "defect": [
            "https://bugs.php.net/bug.php?id=77973"
        ],
        "advisory": "",
        "discovery": "EXTERNAL"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "PHP Group",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "PHP",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "7.1.x < 7.1.30"
                                        },
                                        {
                                            "version_value": "7.2.x < 7.2.19"
                                        },
                                        {
                                            "version_value": "7.3.x < 7.3.6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-457: Use of Uninitialized Variable"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-be4f895015",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKSSWFR2WPMUOIB5EN5ZM252NNEPYUTG/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2019-8c4b25b5ec",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAZBVK6XNYEIN7RDQXESSD63QHXPLKWL/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20190611 [SECURITY] [DLA 1817-1] libgd2 security update",
                "url": "https://lists.debian.org/debian-lts-announce/2019/06/msg00003.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://bugs.php.net/bug.php?id=77973",
                "url": "https://bugs.php.net/bug.php?id=77973"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/libgd/libgd/issues/501",
                "url": "https://github.com/libgd/libgd/issues/501"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821",
                "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1140118",
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1140118"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://bugzilla.suse.com/show_bug.cgi?id=1140120",
                "url": "https://bugzilla.suse.com/show_bug.cgi?id=1140120"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1724149",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1724149"
            },
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1724432",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1724432"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2519",
                "url": "https://access.redhat.com/errata/RHSA-2019:2519"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-4529",
                "url": "https://www.debian.org/security/2019/dsa-4529"
            },
            {
                "refsource": "BUGTRAQ",
                "name": "20190923 [SECURITY] [DSA 4529-1] php7.0 security update",
                "url": "https://seclists.org/bugtraq/2019/Sep/38"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:3299",
                "url": "https://access.redhat.com/errata/RHSA-2019:3299"
            },
            {
                "refsource": "SUSE",
                "name": "openSUSE-SU-2020:0332",
                "url": "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00020.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-e795f92d79",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4316-2",
                "url": "https://usn.ubuntu.com/4316-2/"
            },
            {
                "refsource": "UBUNTU",
                "name": "USN-4316-1",
                "url": "https://usn.ubuntu.com/4316-1/"
            }
        ]
    },
    "configuration": [
        {
            "lang": "eng",
            "value": "The code has to enable gd extension and use gdImageCreateFromXbm() on externally controlled data to be vulnerable. "
        }
    ],
    "impact": {
        "cvss": {
            "version": "3.0",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "availabilityImpact": "NONE",
            "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N",
            "baseScore": 3.1,
            "baseSeverity": "LOW"
        }
    },
    "exploit": [],
    "work_around": [],
    "solution": [],
    "credit": [
        {
            "lang": "eng",
            "value": "By chamal dot desilva at gmail dot com"
        }
    ]
}