Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3781

published

ghostscript: sandbox escape using '%pipe%'

Title from Red Hat VEX

Published
16 Feb 2022, 00:00:00 UTC
Updated
03 Aug 2024, 17:09:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — ghostscriptghostpdl 9.55.0 Affected Not stated redhat
Alpine Linux edge ghostscript Fixed 9.54-r1 Package fix record
Debian bullseye ghostscript Advisory build 9.53.3~dfsg-7+deb11u1 DSA-4972-1
SUSE / openSUSE SLE-12-SP2 ghostscriptx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
Ubuntu focal ghostscript Advisory build 9.50~dfsg-5ubuntu4.3 USN-5075-1
Alpine Linux v3.13 ghostscript Fixed 9.53.3-r1 Package fix record
Alpine Linux v3.14 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.15 ghostscript Fixed 9.54-r1 Package fix record
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.16 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.17 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.18 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.19 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.20 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.21 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.22 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.23 ghostscript Fixed 9.54-r1 Package fix record
Alpine Linux v3.24 ghostscript Fixed 9.54-r1 Package fix record
SUSE / openSUSE SLE-12-SP3 ghostscriptaarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscriptppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscripts390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscriptx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscriptaarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscriptppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscripts390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscriptx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscriptaarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscriptppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscripts390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscriptx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-15 ghostscriptaarch64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15 ghostscriptppc64le Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15 ghostscripts390x Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15 ghostscriptx86_64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP1 ghostscriptaarch64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP1 ghostscriptppc64le Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP1 ghostscripts390x Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP1 ghostscriptx86_64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP2 ghostscriptaarch64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP2 ghostscriptppc64le Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP2 ghostscripts390x Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP2 ghostscriptx86_64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP3 ghostscriptaarch64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP3 ghostscriptppc64le Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP3 ghostscripts390x Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE SLE-15-SP3 ghostscriptx86_64 Advisory build 9.52-155.1 SUSE-SU-2021:3044-1
SUSE / openSUSE openSUSE-Leap-15.2 ghostscripti586 Advisory build 9.52-lp152.2.7.1 OPENSUSE-SU-2021:1273-1
SUSE / openSUSE openSUSE-Leap-15.2 ghostscriptx86_64 Advisory build 9.52-lp152.2.7.1 OPENSUSE-SU-2021:1273-1
SUSE / openSUSE openSUSE-Leap-15.3 ghostscriptaarch64 Advisory build 9.52-155.1 OPENSUSE-SU-2021:3044-1
SUSE / openSUSE openSUSE-Leap-15.3 ghostscriptppc64le Advisory build 9.52-155.1 OPENSUSE-SU-2021:3044-1
SUSE / openSUSE openSUSE-Leap-15.3 ghostscripts390x Advisory build 9.52-155.1 OPENSUSE-SU-2021:3044-1
SUSE / openSUSE openSUSE-Leap-15.3 ghostscriptx86_64 Advisory build 9.52-155.1 OPENSUSE-SU-2021:3044-1
SUSE / openSUSE openSUSE-Tumbleweed ghostscriptaarch64 Advisory build 9.54.0-2.2 OPENSUSE-SU-2024:10783-1
SUSE / openSUSE openSUSE-Tumbleweed ghostscriptppc64le Advisory build 9.54.0-2.2 OPENSUSE-SU-2024:10783-1
SUSE / openSUSE openSUSE-Tumbleweed ghostscripts390x Advisory build 9.54.0-2.2 OPENSUSE-SU-2024:10783-1
SUSE / openSUSE openSUSE-Tumbleweed ghostscriptx86_64 Advisory build 9.54.0-2.2 OPENSUSE-SU-2024:10783-1
SUSE / openSUSE SLE-12-SP2 ghostscript-develx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP2 ghostscript-x11x86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP2 libspectre-develx86_64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP2 libspectre1x86_64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-develaarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-develppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-devels390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-develx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-x11aarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-x11ppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-x11s390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 ghostscript-x11x86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre-develaarch64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre-develppc64le Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre-devels390x Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre-develx86_64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre1aarch64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre1ppc64le Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre1s390x Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP3 libspectre1x86_64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-develaarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-develppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-devels390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-develx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-x11aarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-x11ppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-x11s390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 ghostscript-x11x86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre-develaarch64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre-develppc64le Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre-devels390x Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre-develx86_64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre1aarch64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre1ppc64le Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre1s390x Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP4 libspectre1x86_64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-develaarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-develppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-devels390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-develx86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-x11aarch64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-x11ppc64le Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-x11s390x Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 ghostscript-x11x86_64 Advisory build 9.52-23.42.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 libspectre-develaarch64 Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1
SUSE / openSUSE SLE-12-SP5 libspectre-develppc64le Advisory build 0.2.7-12.12.1 SUSE-SU-2021:3180-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

26

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a ghostscript ghostpdl 9.55.0 (affected) redhat · cna

Weaknesses

1
  • CWE-20 (redhat · cna)

References

3

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
e65dd0807315a5e70a41d60f07551d4516a0457fd11b615a6fd81a9662a1837d
Ingested
23 Sep 2026, 07:55:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected