# CVE-2021-45944

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-12-31 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-45944, DEBIAN-CVE-2021-45944
- Record: https://cvemate.com/vulnerability/CVE-2021-45944 · JSON: https://cvemate.com/vulnerability/CVE-2021-45944/json

## Description

```text
Ghostscript GhostPDL 9.50 through 9.53.3 has a use-after-free in sampled_data_sample (called from sampled_data_continue and interp).
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.462%, percentile 74.502%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- artifex ghostscript: ≥ 9.50, ≤ 9.53.3
- debian ghostscript (Debian): \< 9.54.0~dfsg-5
- ubuntu ghostscript (Ubuntu): \< 9.26~dfsg+0-0ubuntu0.16.04.14+esm1 \| \< 9.26~dfsg+0-0ubuntu0.18.04.15 \| \< 9.50~dfsg-5ubuntu4.5
- debian debian\_linux: 9.0 \| 10.0 \| 11.0

## References

- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ghostscript/OSV-2021-237.yaml>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29903>
- <https://www.debian.org/security/2022/dsa-5038>
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00006.html>
- <https://github.com/google/oss-fuzz-vulns/issues/16>
- <https://git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=7861fcad13c497728189feafb41cd57b5b50ea25>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30715>
- <https://ubuntu.com/security/CVE-2021-45944>
- <https://ubuntu.com/security/notices/USN-5224-1>
- <https://ubuntu.com/security/notices/USN-5224-2>
- <https://www.cve.org/CVERecord?id=CVE-2021-45944>
- <https://security-tracker.debian.org/tracker/CVE-2021-45944>

---

Data as of 2026-12-05T11:01:01.753Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
