CVE-2021-45949

Summary

CVECVE-2021-45949
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-01 00:15:08 UTC
Updated2026-10-08 01:16:31 UTC
DescriptionGhostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish (called from sampled_data_continue and interp).

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Problem Types: CWE-787 | CWE-122 | n/a | CWE-122 CWE-122 Heap-based Buffer Overflow


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
3.1ADPDECLARED3.9LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary3.9LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:M/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Artifex Ghostscript All All All All
Operating System Debian Debian Linux 10.0 All All All
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
git.ghostscript.com Git af854a3a-2127-422b-91ae-364da2661108 git.ghostscript.com
34675 - oss-fuzz - OSS-Fuzz: Fuzzing the planet - Monorail af854a3a-2127-422b-91ae-364da2661108 bugs.chromium.org Exploit, Issue Tracking, Third Party Advisory
oss-fuzz-vulns/OSV-2021-803.yaml at main · google/oss-fuzz-vulns · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Third Party Advisory
[SECURITY] [DLA 2879-1] ghostscript security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
Debian -- Security Information -- DSA-5038-1 ghostscript af854a3a-2127-422b-91ae-364da2661108 www.debian.org Third Party Advisory
git.ghostscript.com Git - ghostpdl.git/commit MITRE git.ghostscript.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178989 Debian Security Update for ghostscript (DSA 5038-1)
  • 179002 Debian Security Update for ghostscript (DLA 2879-1)
  • 184837 Debian Security Update for ghostscript (CVE-2021-45949)
  • 198630 Ubuntu Security Notification for Ghostscript Vulnerabilities (USN-5224-1)
  • 671449 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1426)
  • 671477 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1447)
  • 671493 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1484)
  • 671541 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1503)
  • 671583 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1533)
  • 671676 EulerOS Security Update for ghostscript (EulerOS-SA-2022-1723)
  • 751603 SUSE Enterprise Linux Security Update for ghostscript (SUSE-SU-2022:0081-1)
  • 751605 OpenSUSE Security Update for ghostscript (openSUSE-SU-2022:0088-1)
  • 751706 OpenSUSE Security Update for ghostscript (openSUSE-SU-2022:0088-2)
  • 751991 SUSE Enterprise Linux Security Update for ghostscript (SUSE-SU-2022:0088-1)
  • 753608 SUSE Enterprise Linux Security Update for ghostscript (SUSE-SU-2022:0088-3)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report