CVE-2019-14869: High severity Artifex Ghostscript vulnerability

Published Nov 5, 2019
·
Updated

A flaw was found in all versions of ghostscript 9.x before 9.50, where the .charkeys procedure, where it did not properly secure its privileged calls, enabling scripts to bypass -dSAFER restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges within the Ghostscript and access files outside of restricted areas or execute commands.

Other sources

While .charkeys cannot be called directly, it is called by .loadwofffont, which in turn can be recovered from .loadfontfile. Using a stack overflow and error handlers, .charkeys can be crashed at a convenient location and .forceput recovered from the stack.

This can be used to disable -dSAFER and, for example, access files outside of the restricted area, or command execution.

The vulnerability is not effective against ghostscript 9.50 thanks to the reimplementation of the SAFER feature.

Reference: https://bugs.ghostscript.com/showbug.cgi?id=701841

Red Hat

Affected Software

7 affected componentsFixes available
redhat/ghostscript<9.50
9.50
Artifex Ghostscript>=9.00<9.50
Fedoraproject Fedora=29
Fedoraproject Fedora=30
Fedoraproject Fedora=31
openSUSE Leap=15.0
openSUSE Leap=15.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ghostscript to a version that resolves this vulnerability.

    Fixed in 9.50
  2. Upgrade

    Upgrade ghostscript to a version that resolves this vulnerability.

    Fixed in 9.50
  3. Compensating control

    Ensure the deployed Ghostscript version is 9.50 or later, since the vulnerability is described as affecting all ghostscript 9.x versions before 9.50; until then, avoid using Ghostscript to process untrusted PostScript files because crafted files can bypass -dSAFER restrictions.

Event History

Nov 5, 2019
Data Sourced
via Red Hat·02:25 PM
DescriptionSeverityAffected Software
Nov 15, 2019
CVE Published
via MITRE·11:55 AM
Data Sourced
via MITRE·11:55 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2019-14869.

2

What is the severity of CVE-2019-14869?

The severity of CVE-2019-14869 is high.

3

What is the affected software?

The affected software is Artifex Ghostscript version 9.x before 9.50, Fedoraproject Fedora versions 29, 30, and 31, openSUSE Leap versions 15.0 and 15.1.

4

How can an attacker exploit CVE-2019-14869?

An attacker can exploit CVE-2019-14869 by creating a specially crafted PostScript file that could bypass `-dSAFER` restrictions.

5

What is the remedy for CVE-2019-14869?

The remedy for CVE-2019-14869 is to update to version 9.50 of Artifex Ghostscript.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203