CVE-2020-15900 Integer overflow in n/a

Critical 9.8 Published Updated

An integer underflow in Ghostscript's rsearch operator allows bypassing file access controls and potential memory corruption, requiring a patch.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-15900?

CVE-2020-15900 is a critical vulnerability in Artifex Ghostscript, published on 28 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-191

Which versions are affected by CVE-2020-15900?

It affects 3 products.

Linux distribution packages (28)
ghostscript SUSE:Enterprise Storage 5All versions9.52-23.39.1
ghostscript SUSE:HPE Helion OpenStack 8All versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions9.52-3.32.1
ghostscript SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions9.52-3.32.1
ghostscript SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions9.52-3.32.1
ghostscript SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions9.52-3.32.1
ghostscript SUSE:Linux Enterprise Server 12 SP2-BCLAll versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server 12 SP3-BCLAll versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server 12 SP5All versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server 15-LTSSAll versions9.52-3.32.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions9.52-23.39.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 15All versions9.52-3.32.1
ghostscript SUSE:Linux Enterprise Software Development Kit 12 SP5All versions9.52-23.39.1
ghostscript SUSE:OpenStack Cloud 7All versions9.52-23.39.1
ghostscript SUSE:OpenStack Cloud 8All versions9.52-23.39.1
ghostscript SUSE:OpenStack Cloud 9All versions9.52-23.39.1
ghostscript SUSE:OpenStack Cloud Crowbar 8All versions9.52-23.39.1
ghostscript SUSE:OpenStack Cloud Crowbar 9All versions9.52-23.39.1
ghostscript openSUSE:Leap 15.1All versions9.52-lp151.3.15.1
ghostscript-mini openSUSE:Leap 15.1All versions9.52-lp151.3.15.1
ghostscript openSUSE:Leap 15.2All versions9.52-lp152.2.4.1
ghostscript-mini openSUSE:Leap 15.2All versions9.52-lp152.2.4.1

Products include Artifex Ghostscript, Canonical Ubuntu Linux, Opensuse Leap.

How do I fix CVE-2020-15900?

Apply the vendor's patch.

Is CVE-2020-15900 being exploited?

There is no known exploitation of CVE-2020-15900 in the wild and no public exploit code.

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2020-15900, DEBIAN-CVE-2020-15900, GHSA-mwgq-j58h-pv6j, SUSE-SU-2020:2095-1, SUSE-SU-2020:2097-1, UBUNTU-CVE-2020-15900 and 3 more.

Is CVE-2020-15900 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free