Skip to content
Heist/ feed
Back to feed
CriticalFix available

ghostscript — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2020-15900

A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.

Products
ghostscript
Affected versions
Not specified
Fixed versions
9.50-r1, 9.52-r1
CVEs
CVE-2020-15900
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 12:04 UTC · Revision 1

Source evidence

ALPINE-CVE-2020-15900

core-osv · Original source

Published 28 Jul 2020, 16:15 UTC

A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.

osv:ALPINE-CVE-2020-15900

ghostscript

Fixed versions: 9.50-r1

ghostscript

Fixed versions: 9.52-r1

Complete source record
{
  "id": "9ec43adb3b2247927acf9401191dd417132e3021e56573974aea30a14bdf81c3",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2020-15900",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2020-15900",
    "summary": "A memory corruption issue was found in Artifex Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator can allow overriding of file access controls. The 'rsearch' calculation for the 'post' size resulted in a size that was too large, and could underflow to max uint32_t. This was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b.",
    "evidence": "osv:ALPINE-CVE-2020-15900",
    "products": [
      {
        "name": {
          "value": "ghostscript",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.50-r1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "ghostscript",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "9.52-r1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "ALPINE-CVE-2020-15900",
      "aliases": [
        "ALPINE-CVE-2020-15900"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.50-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "ghostscript",
            "purl": "pkg:apk/alpine/ghostscript?arch=source",
            "ecosystem": "Alpine:v3.11"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15900.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9.52-r1"
                }
              ]
            }
          ],
          "package": {
            "name": "ghostscript",
            "purl": "pkg:apk/alpine/ghostscript?arch=source",
            "ecosystem": "Alpine:v3.12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-15900.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-26T11:17:55.136078171Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-15900"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2020-15900"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-15900",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 450452,
  "published_at": "2020-07-28T16:15:12.84+00:00"
}