CVE-2019-6116 Code injection in n/a

High 7.8 Published Updated

Remote attackers can execute arbitrary code via ephemeral procedures in Ghostscript, requiring immediate library upgrades.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-6116?

CVE-2019-6116 is a high-severity code injection vulnerability in Artifex Ghostscript, published on 19 Mar 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In Artifex Ghostscript through 9.26, ephemeral or transient procedures can allow access to system operators, leading to remote code execution.

Which versions are affected by CVE-2019-6116?

It affects 11 products.

Linux distribution packages (36)
ghostscript SUSE:Enterprise Storage 4All versions9.26a-23.19.1
libspectre SUSE:Enterprise Storage 4All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Desktop 12 SP3All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Desktop 12 SP3All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Desktop 12 SP4All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Desktop 12 SP4All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Module for Basesystem 15All versions9.26a-3.12.1
libspectre SUSE:Linux Enterprise Module for Desktop Applications 15All versions0.2.8-3.6.1
ghostscript SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server 12 SP1-LTSSAll versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server 12 SP2-BCLAll versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server 12 SP2-BCLAll versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server 12 SP2-LTSSAll versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server 12 SP3All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server 12 SP3All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server 12 SP4All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server 12 SP4All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server 12-LTSSAll versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server 12-LTSSAll versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server for SAP Applications 12 SP1All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Software Development Kit 12 SP3All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Software Development Kit 12 SP3All versions0.2.7-12.6.1
ghostscript SUSE:Linux Enterprise Software Development Kit 12 SP4All versions9.26a-23.19.1
libspectre SUSE:Linux Enterprise Software Development Kit 12 SP4All versions0.2.7-12.6.1
ghostscript SUSE:OpenStack Cloud 7All versions9.26a-23.19.1
libspectre SUSE:OpenStack Cloud 7All versions0.2.7-12.6.1
ghostscript openSUSE:Leap 15.0All versions9.26a-lp150.2.12.1
ghostscript-mini openSUSE:Leap 15.0All versions9.26a-lp150.2.12.1

Products include Artifex Ghostscript, Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Opensuse Leap, Redhat Enterprise Linux Desktop and 5 more.

How do I fix CVE-2019-6116?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2019-6116 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-6116 exists.

Public exploit code: 1 Exploit-DB entry.

All Artifex Ghostscript vulnerabilities

Sources

Also known as ALPINE-CVE-2019-6116, DEBIAN-CVE-2019-6116, DLA-1670-1, DSA-4372-1, GHSA-6vrc-h32p-948x, MGASA-2019-0056 and 6 more.

Is CVE-2019-6116 in your software?

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

Check your SBOMs for free