CVE-2020-15900
Description
A memory corruption vulnerability in Ghostscript 9.50 and 9.52 allows attackers to bypass file access controls via a crafted PostScript file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A memory corruption vulnerability in Ghostscript 9.50 and 9.52 allows attackers to bypass file access controls via a crafted PostScript file.
Vulnerability
A memory corruption issue exists in Artifex Ghostscript versions 9.50 and 9.52. The flaw resides in the handling of a non-standard PostScript operator, specifically in the rsearch calculation for the post size. The size calculation results in a value that is too large, which can underflow to max uint32_t, leading to memory corruption. This can be triggered by processing a specially crafted PostScript file [1][2].
Exploitation
An attacker can exploit this vulnerability by convincing a user or an automated system to process a malicious PostScript file. No authentication is required, and the attack vector is remote. The crafted file triggers the flawed rsearch operator, causing the memory corruption [1].
Impact
Successful exploitation could allow an attacker to bypass file access controls, potentially leading to arbitrary file access, execution of arbitrary code, or a denial of service (crash). The impact is limited by the privileges of the process running Ghostscript [1][2].
Mitigation
The issue was fixed in commit 5d499272b95a6b890a1397e11d20937de000d31b. Ubuntu released updated packages in USN-4445-1 on 3 August 2020 [1]. Gentoo provided an update in GLSA 202008-20, recommending upgrade to >=app-text/ghostscript-gpl-9.52 [2]. No workaround is available; users should apply the patch or update to the fixed version.
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
31- Artifex/Ghostscriptdescription
- Range: = 9.50, 9.52
- osv-coords29 versionspkg:rpm/opensuse/ghostscript&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/ghostscript&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/ghostscript&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ghostscript-mini&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/ghostscript-mini&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/ghostscript&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/ghostscript&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/ghostscript&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/ghostscript&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 9.52-lp151.3.15.1+ 28 more
- (no CPE)range: < 9.52-lp151.3.15.1
- (no CPE)range: < 9.52-lp152.2.4.1
- (no CPE)range: < 9.54.0-2.2
- (no CPE)range: < 9.52-lp151.3.15.1
- (no CPE)range: < 9.52-lp152.2.4.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-3.32.1
- (no CPE)range: < 9.52-3.32.1
- (no CPE)range: < 9.52-3.32.1
- (no CPE)range: < 9.52-3.32.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-3.32.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-3.32.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
- (no CPE)range: < 9.52-23.39.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
8- lists.opensuse.org/opensuse-security-announce/2020-08/msg00004.htmlmitrevendor-advisoryx_refsource_SUSE
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00006.htmlmitrevendor-advisoryx_refsource_SUSE
- security.gentoo.org/glsa/202008-20mitrevendor-advisoryx_refsource_GENTOO
- usn.ubuntu.com/4445-1/mitrevendor-advisoryx_refsource_UBUNTU
- artifex.com/security-advisories/CVE-2020-15900mitrex_refsource_CONFIRM
- git.ghostscript.commitrex_refsource_MISC
- github.com/ArtifexSoftware/ghostpdl/commit/5d499272b95a6b890a1397e11d20937de000d31bmitrex_refsource_MISC
- github.com/ArtifexSoftware/ghostpdl/commits/master/psi/zstring.cmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.