{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2023-28879",
        "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": "In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://bugs.ghostscript.com/show_bug.cgi?id=706494",
                "refsource": "MISC",
                "name": "https://bugs.ghostscript.com/show_bug.cgi?id=706494"
            },
            {
                "url": "https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=37ed5022cecd584de868933b5b60da2e995b3179",
                "refsource": "MISC",
                "name": "https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=37ed5022cecd584de868933b5b60da2e995b3179"
            },
            {
                "refsource": "MISC",
                "name": "https://ghostscript.readthedocs.io/en/latest/News.html",
                "url": "https://ghostscript.readthedocs.io/en/latest/News.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230404 [SECURITY] [DLA 3381-1] ghostscript security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00003.html"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-5383",
                "url": "https://www.debian.org/security/2023/dsa-5383"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2023-f51bc947bb",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CI6UCKM3XMK7PYNIRGAVDJ5VKN6XYZOE/"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20230412 Ghostscript CVE-2023-28879: \"Shell in the Ghost\"",
                "url": "http://www.openwall.com/lists/oss-security/2023/04/12/4"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2023-fbf86d8916",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DHJX62KSRIOBZA6FKONMJP7MEFY7LTH2/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2023-366850fc87",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MADLP3GWJFLLFVNZGEDNPMDQR6CCXAHN/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202309-03",
                "url": "https://security.gentoo.org/glsa/202309-03"
            }
        ]
    }
}