Skip to content
Heist/ feed
Back to feed
HighFix available

ghostscript — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-19134

In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.

Products
ghostscript
Affected versions
Not specified
Fixed versions
9.26~dfsg-1
CVEs
CVE-2018-19134
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:10 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-19134

core-osv · Original source

Published 20 Dec 2018, 23:29 UTC

In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.

osv:DEBIAN-CVE-2018-19134

ghostscript

Fixed versions: 9.26~dfsg-1

ghostscript

Fixed versions: 9.26~dfsg-1

ghostscript

Fixed versions: 9.26~dfsg-1

Complete source record
{
  "id": "cc7d368a11f693eea0c5c8c4733b5994368a6abcac73d6bc8d41fb7307284f73",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-19134",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-19134",
    "summary": "In Artifex Ghostscript through 9.25, the setpattern operator did not properly validate certain types. A specially crafted PostScript document could exploit this to crash Ghostscript or, possibly, execute arbitrary code in the context of the Ghostscript process. This is a type confusion issue because of failure to check whether the Implementation of a pattern dictionary was a structure type.",
    "evidence": "osv:DEBIAN-CVE-2018-19134",
    "products": [
      {
        "name": {
          "value": "ghostscript",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.26~dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ghostscript",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.26~dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ghostscript",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.26~dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-19134",
      "aliases": [
        "DEBIAN-CVE-2018-19134"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.26~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ghostscript",
            "purl": "pkg:deb/debian/ghostscript?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19134.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.26~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ghostscript",
            "purl": "pkg:deb/debian/ghostscript?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19134.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.26~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ghostscript",
            "purl": "pkg:deb/debian/ghostscript?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19134.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:03.384566194Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-19134"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-19134"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-19134",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420257,
  "published_at": "2018-12-20T23:29:00.91+00:00"
}