CVE
CVE-2021-45944
publishedghostscript: use-after-free in sampled_data_sample may lead to DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | bullseye | ghostscript | Advisory build | 9.53.3~dfsg-7+deb11u2 | DSA-5038-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptaarch64 | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| Ubuntu | bionic | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.15 | USN-5224-1 |
| Debian | buster | ghostscript | Advisory build | 9.27~dfsg-2+deb10u5 | DSA-5038-1 |
| Debian | stretch | ghostscript | Advisory build | 9.26a~dfsg-0+deb9u8 | DLA-2879-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptppc64le | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscripts390x | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
Show 83 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | ghostscriptx86_64 | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develaarch64 | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develppc64le | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-devels390x | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-develx86_64 | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11aarch64 | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11ppc64le | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11s390x | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-12-SP5 | ghostscript-x11x86_64 | Advisory build | 9.52-23.48.1 | SUSE-SU-2022:0081-1 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscriptaarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscriptppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscripts390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscriptx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-develaarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-develppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-devels390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-develx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-x11aarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-x11ppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-x11s390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP1 | ghostscript-x11x86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptaarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscripts390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-2 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscriptx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-develaarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-develppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-devels390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-develx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-2 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-develx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-x11aarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-x11ppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-x11s390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-x11x86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-2 |
| SUSE / openSUSE | SLE-15-SP2 | ghostscript-x11x86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-3 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptaarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscripts390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscriptx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-develaarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-develppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-devels390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-develx86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11aarch64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11ppc64le | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11s390x | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | SLE-15-SP3 | ghostscript-x11x86_64 | Advisory build | 9.52-161.1 | SUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscriptaarch64 | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscriptppc64le | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscripts390x | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscriptx86_64 | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-develaarch64 | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-develppc64le | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-devels390x | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-develx86_64 | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-x11aarch64 | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-x11ppc64le | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-x11s390x | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | ghostscript-x11x86_64 | Advisory build | 9.52-161.1 | OPENSUSE-SU-2022:0088-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptaarch64 | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptppc64le | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscripts390x | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscriptx86_64 | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develaarch64 | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develppc64le | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-devels390x | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-develx86_64 | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11aarch64 | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11ppc64le | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11s390x | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghostscript-x11x86_64 | Advisory build | 9.54.0-3.1 | OPENSUSE-SU-2024:11744-1 |
| Ubuntu | bionic | ghostscript-x | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.15 | USN-5224-1 |
| Ubuntu | bionic | libgs9 | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.15 | USN-5224-1 |
| Ubuntu | bionic | libgs9-common | Advisory build | 9.26~dfsg+0-0ubuntu0.18.04.15 | USN-5224-1 |
| Ubuntu | focal | ghostscript | Advisory build | 9.50~dfsg-5ubuntu4.5 | USN-5224-1 |
| Ubuntu | focal | ghostscript-x | Advisory build | 9.50~dfsg-5ubuntu4.5 | USN-5224-1 |
| Ubuntu | focal | libgs9 | Advisory build | 9.50~dfsg-5ubuntu4.5 | USN-5224-1 |
| Ubuntu | focal | libgs9-common | Advisory build | 9.50~dfsg-5ubuntu4.5 | USN-5224-1 |
| Ubuntu | xenial | ghostscript | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm1 | USN-5224-2 |
| Ubuntu | xenial | ghostscript-x | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm1 | USN-5224-2 |
| Ubuntu | xenial | libgs9 | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm1 | USN-5224-2 |
| Ubuntu | xenial | libgs9-common | Advisory build | 9.26~dfsg+0-0ubuntu0.16.04.14+esm1 | USN-5224-2 |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29903
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30715
- https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=7861fcad13c497728189feafb41cd57b5b50ea25
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ghostscript/OSV-2021-237.yaml
- https://github.com/google/oss-fuzz-vulns/issues/16
- [debian-lts-announce] 20220114 [SECURITY] [DLA 2879-1] ghostscript security update https://lists.debian.org/debian-lts-announce/2022/01/msg00006.html
- DSA-5038 https://www.debian.org/security/2022/dsa-5038
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ae337bb46f744e13a8d0e39a0940d70c5be53949886a74823129f0eaf2b86f3d
- Ingested
- 23 Sep 2026, 07:56:57 UTC
- Source record
- Official CVE record