{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-42716",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "An issue was discovered in stb stb_image.h 2.27. The PNM loader incorrectly interpreted 16-bit PGM files as 8-bit when converting to RGBA, leading to a buffer overflow when later reinterpreting the result as a 16-bit buffer. An attacker could potentially have crashed a service using stb_image, or read up to 1024 bytes of non-consecutive heap data without control over the read location."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/nothings/stb/issues/1166",
                "refsource": "MISC",
                "name": "https://github.com/nothings/stb/issues/1166"
            },
            {
                "url": "https://github.com/nothings/stb/pull/1223",
                "refsource": "MISC",
                "name": "https://github.com/nothings/stb/pull/1223"
            },
            {
                "url": "https://github.com/nothings/stb/issues/1225",
                "refsource": "MISC",
                "name": "https://github.com/nothings/stb/issues/1225"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-001f25d986",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G2M5CRSGPRF7G3YB5CLU4FXW7ANNHAYT/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-d1446cd1ac",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ID6II3RIKAMVGVMC6ZAQIXXYYDMTVC4N/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-f8ba4a690e",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BEGXBDEMTFGINETMJENBZ6SCHVEJQJSY/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-0511a38484",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CI23LXPEV2GCDQTJSKO6CIILBDTI3R42/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-082bea5b34",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FTZXHFZD36BGE5P6JF252NZZLKMGCY4T/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-3fc69d203c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VP2YEXEAJWI76FPM7D7VXHWD3WESQEYC/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-8ea648186c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3TDGZFLBOP27LZKLH45WQLSNPSPP7S7Z/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-16d848834d",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AF2CNP4FVC6LDKNOO4WDCGNDYIP3MPK6/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-832689aa6b",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TXX76TJMZBPN3NU542MGN6B7C7QHRFGB/"
            }
        ]
    }
}