Medium severity · published Jan 1, 2022
CVE-2021-45944
Ghostscript GhostPDL 9.50 through 9.53.3 has a use-after-free in sampled_data_sample (called from sampled_data_continue and interp)
5.5
CVSS
1.5%
EPSS
No
On KEV
Description
Ghostscript GhostPDL 9.50 through 9.53.3 has a use-after-free in sampled_data_sample (called from sampled_data_continue and interp).
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.5% · higher than 73% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
GH
Ghostscript · Artifex
9.50 through 9.53.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-45944
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-45944
Exploit
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29903
Third Party Advisory
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30715
git.ghostscript.com
https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=7861fcad13c497728189feafb41cd57b5b50ea25
Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ghostscript/OSV-2021-237.yaml
Issue Tracking
https://github.com/google/oss-fuzz-vulns/issues/16
Mailing List
https://lists.debian.org/debian-lts-announce/2022/01/msg00006.html
More from Ghostscript
7.8
CVE-2017-8291
Artifex Ghostscript Type Confusion Vulnerability
9.9
CVE-2021-3781
A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted pipe command
9.8
CVE-2025-27837
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27836
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27832
An issue was discovered in Artifex Ghostscript before 10.05.0
