Skip to content
Noroxi
CVE-2019-14869· NVD / CVE Program· CNA redhat

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 privi

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.

HighCVSS 8.8 · v3.1—No exploit Fix available
Published
Nov 15, 2019
Updated
Jun 16, 2026
EPSS
3.4% · 89th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

36

Monitor

Low priority for now.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.4%

CNA vs NVD score

NVD
8.8
CNA · redhat
7.3
1.5 point gap

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
artifexghostscript
fedoraprojectfedora
opensuseleap

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • artifex ghostscript9.00 and later · before 9.50
  • fedoraproject fedora29
  • fedoraproject fedora30
  • fedoraproject fedora31
  • opensuse leap15.0
  • opensuse leap15.1

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Ghostscript ghostscript

    • all versions of ghostscript 9.x before 9.28affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10ghostscriptfrom 9.00 · before 9.27-r59.27-r5
Alpine:v3.11ghostscriptfrom 9.00 · before 9.50-r09.50-r0
Alpine:v3.9ghostscriptfrom 9.00 · before 9.26-r59.26-r5
Debian:10ghostscriptbefore 9.27~dfsg-2+deb10u39.27~dfsg-2+deb10u3
Debian:12ghostscriptbefore 9.50~dfsg-39.50~dfsg-3
Debian:8ghostscriptbefore 9.26a~dfsg-0+deb8u69.26a~dfsg-0+deb8u6
Debian:9ghostscriptbefore 9.26a~dfsg-0+deb9u69.26a~dfsg-0+deb9u6
openSUSE:Leap 15.0ghostscriptbefore 9.27-lp150.2.26.19.27-lp150.2.26.1
openSUSE:Leap 15.0ghostscript-minibefore 9.27-lp150.2.26.19.27-lp150.2.26.1
openSUSE:Leap 15.1ghostscriptbefore 9.27-lp151.3.9.19.27-lp151.3.9.1
openSUSE:Leap 15.1ghostscript-minibefore 9.27-lp151.3.9.19.27-lp151.3.9.1
Red Hat:enterprise_linux:7::clientghostscriptbefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:7::clientghostscript-cupsbefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:7::clientghostscript-debuginfobefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:7::clientghostscript-docbefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:7::clientghostscript-gtkbefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:7::clientlibgsbefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:7::clientlibgs-develbefore 0:9.25-2.el7_7.30:9.25-2.el7_7.3
Red Hat:enterprise_linux:8::appstreamghostscriptbefore 0:9.25-5.el8_1.10:9.25-5.el8_1.1
Red Hat:enterprise_linux:8::appstreamghostscript-debuginfobefore 0:9.25-5.el8_1.10:9.25-5.el8_1.1
Red Hat:enterprise_linux:8::appstreamghostscript-debugsourcebefore 0:9.25-5.el8_1.10:9.25-5.el8_1.1
Red Hat:enterprise_linux:8::appstreamghostscript-gtk-debuginfobefore 0:9.25-5.el8_1.10:9.25-5.el8_1.1
Red Hat:enterprise_linux:8::appstreamghostscript-x11-debuginfobefore 0:9.25-5.el8_1.10:9.25-5.el8_1.1
Red Hat:enterprise_linux:8::appstreamlibgsbefore 0:9.25-5.el8_1.10:9.25-5.el8_1.1

+16

Other highest-scoring records for the same primary product.

  • CVE-2017-8291Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile KEV
    90Now
  • CVE-2021-3781A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted
    64This week
  • CVE-2018-16509An issue was discovered in Artifex Ghostscript before 9.24.
    59Plan
  • CVE-2019-6116In Artifex Ghostscript through 9.26, ephemeral or transient procedures can allow access to system operators, leading to remote code executio
    43Plan
  • CVE-2019-14813A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly secure its privileged
    42Plan
  • CVE-2016-7976The PS Interpreter in Ghostscript 9.18 and 9.20 allows remote attackers to execute arbitrary code via crafted userparams.
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:ghostscript9.27-r5 · Alpine:v3.10Package registry (OSV)
debian:ghostscript9.50~dfsg-3 · Debian:12Package registry (OSV)
opensuse:ghostscript9.27-lp150.2.26.1 · openSUSE:Leap 15.0Package registry (OSV)
opensuse:ghostscript-mini9.27-lp150.2.26.1 · openSUSE:Leap 15.0Package registry (OSV)
red hat:ghostscript0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:ghostscript-cups0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:ghostscript-debuginfo0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:ghostscript-debugsource0:9.25-5.el8_1.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ghostscript-doc0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:ghostscript-gtk0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:ghostscript-gtk-debuginfo0:9.25-5.el8_1.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ghostscript-tools-dvipdf0:9.25-5.el8_1.1 · Red Hat:enterprise_linux:8::crbPackage registry (OSV)
red hat:ghostscript-x11-debuginfo0:9.25-5.el8_1.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libgs0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:libgs-debuginfo0:9.25-5.el8_1.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libgs-devel0:9.25-2.el7_7.3 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:ghostscript9.27-3.24.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records