cve.bz

CVE-2019-3838 Incorrect Use of Privileged APIs

5.5 mediumEPSS 2.5%Fix available

Medium (5.5). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
It was found that the forceput operator could be extracted from the DefineResource method in ghostscript before 9.27. A specially crafted PostScript file could use this flaw in order to, for example, have access to the file system outside of the constrains imposed by -dSAFER.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-648 Incorrect Use of Privileged APIs
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-3838 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-3838?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-3838?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-3838 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptbefore 9.27
redhat:ansible_tower3.3
redhat:enterprise_linux5.0
redhat:enterprise_linux6.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.6
redhat:enterprise_linux_server_eus7.6
redhat:enterprise_linux_server_tus7.6
redhat:enterprise_linux_workstation7.0
fedoraproject:fedora28
fedoraproject:fedora29
fedoraproject:fedora30
opensuse:leap15.0
opensuse:leap42.3
debian:debian_linux8.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8ghostscript9.26a~dfsg-0+deb8u2DLA-1761-1
Debian9ghostscript9.26a~dfsg-0+deb9u2DSA-4432-1
Debian12, 13, 14ghostscript9.27~dfsg-1DEBIAN-CVE-2019-3838
Ubuntu14.04:LTSghostscript9.26~dfsg+0-0ubuntu0.14.04.8UBUNTU-CVE-2019-3838 USN-3915-1
Ubuntu16.04:LTSghostscript9.26~dfsg+0-0ubuntu0.16.04.8UBUNTU-CVE-2019-3838 USN-3915-1
Ubuntu18.04:LTSghostscript9.26~dfsg+0-0ubuntu0.18.04.8UBUNTU-CVE-2019-3838 USN-3915-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreghostscript, ghostscript-doc, ghostscript-gtk and 3 more0:9.07-31.el7_6.10RHSA-2019:0633
Red Hatenterprise_linux:8::appstreamlibgs, ghostscript, libgs-debuginfo and 4 more0:9.25-2.el8_0.1RHSA-2019:0971
Red Hatenterprise_linux:8::crblibgs-devel, ghostscript-doc, ghostscript-x11 and 8 more0:9.25-2.el8_0.1RHSA-2019:0971
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Desktop 12 SP4 and 13 moreghostscript9.26a-23.22.1SUSE-SU-2019:0719-1
SUSELinux Enterprise Module for Basesystem 15ghostscript9.26a-3.15.1SUSE-SU-2019:0718-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSghostscript-library8.62-47.16.1SUSE-SU-2019:14155-1
openSUSELeap 15.0ghostscript, ghostscript-mini9.26a-lp150.2.17.2openSUSE-SU-2019:1121-1
openSUSETumbleweedghostscript9.54.0-2.2openSUSE-SU-2024:10783-1
Alpinev3.6, v3.7, v3.8 and 16 moreghostscript9.26-r2ALPINE-CVE-2019-3838

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Please refer to the "Mitigation" section of CVE-2018-16509 : https://access.redhat.com/security/cve/cve-2018-16509

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7ghostscript-0:9.07-31.el7_6.10Fixed 2019-03-21RHSA-2019:0633
Red Hat Enterprise Linux 8ghostscript-0:9.25-2.el8_0.1Fixed 2019-05-07RHSA-2019:0971
Red Hat Enterprise Linux 5ghostscriptWill not fix
Red Hat Enterprise Linux 6ghostscriptWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-3838.

Attack patterns (CAPEC)

  • CAPEC-107 Cross Site Tracing Likelihood: Medium · Severity: Very High
  • CAPEC-234 Hijacking a privileged process Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON