Medium severity · published Dec 31, 2021
CVE-2021-45949
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp)
5.5
CVSS
1.7%
EPSS
No
On KEV
Description
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (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.7% · higher than 78% 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.54.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-45949
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-45949
x_refsource_MISC
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ghostscript/OSV-2021-803.yaml
x_refsource_MISC
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34675
x_refsource_MISC
https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=2a3129365d3bc0d4a41f107ef175920d1505d1f7
vendor-advisory
https://www.debian.org/security/2022/dsa-5038
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-27836
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27837
An issue was discovered in Artifex Ghostscript before 10.05.0
9.8
CVE-2025-27831
An issue was discovered in Artifex Ghostscript before 10.05.0
