9.9

CVE-2021-3781: artifex ghostscript Improper Input Validation

Modified
AliasesALPINE-CVE-2021-3781MGASA-2021-0436SUSE-SU-2021:3044-1
Published 16-02-2022Last modified 03-08-2024

Vulnerability summary

CVE-2021-3781 is a critical (CVSS 9.9) Improper Input Validation vulnerability in artifex ghostscript. EPSS estimates a 85.64% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.9 (NVD); no exploitation reported by the 5 checked sources; EPSS 86% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.9/10
010
Critical · v3.1 (NVD)
EPSS score
85.64%
0%100%
Critical · +1.73 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 16-02-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command. This flaw allows a specially crafted document to execute arbitrary commands on the system in the context of the ghostscript interpreter. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

85.64%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Increase +1.73 pp

From 83.91% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse58 products
  • ghostscript&distro=HPE Helion OpenStack 8< 9.52-23.42.1
  • ghostscript&distro=SUSE Enterprise Storage 6< 9.52-155.1
  • ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 9.52-155.1
  • ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 9.52-155.1
  • ghostscript&distro=SUSE Linux Enterprise High Performance Computing 15-ESPOS< 9.52-155.1
Opensuse5 products
  • ghostscript-mini&distro=openSUSE Leap 15.2< 9.52-lp152.2.7.1
  • ghostscript&distro=openSUSE Leap 15.2< 9.52-lp152.2.7.1
  • ghostscript&distro=openSUSE Leap 15.3< 9.52-155.1
  • libspectre&distro=openSUSE Leap 15.2< 0.2.8-lp152.4.3.1
  • libspectre&distro=openSUSE Leap 15.3< 0.2.8-3.12.1
Alpine1 product
  • ghostscript< 9.53.3-r1 | < 9.54-r1
Artifex1 product
Debian1 product
  • ghostscript< 9.53.3~dfsg-8 | < 9.53.3~dfsg-7+deb11u1
Fedoraproject1 product
Mageia1 product
  • ghostscript< 9.53.3-2.1.mga8
Ubuntu1 product
  • ghostscript< 9.50~dfsg-5ubuntu4.3 | < 9.54.0~dfsg1-0ubuntu2

8 vendors · 69 products

References

20 links
Show all 20 references