Vulnerabilities / CVE-2020-15900

critical

CVE-2020-15900

ghostscript: Memory Corruption in Ghostscript 9.52 (SAFER Sandbox Breakout)

Published Modified CWE 191, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
alpine 3.11ghostscript9.50-r1
alpine 3.12ghostscript9.52-r1
debian 11ghostscript9.52.1~dfsg-1
debian 12ghostscript9.52.1~dfsg-1
debian 13ghostscript9.52.1~dfsg-1
debian 14ghostscript9.52.1~dfsg-1
echoghostscript9.52.1~dfsg-1
root.io debian 12rootio-ghostscript9.52.1~dfsg-1
ubuntu 20.04ghostscript9.50~dfsg-5ubuntu4.1
ubuntu 20.04-ESMghostscript9.50~dfsg-5ubuntu4.1

References

All 13 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.