CVEfocus › CVE database › CVE-2021-45944

CVE-2021-45944

CVSS 5.5 MediumEPSS 1.5% (higher than 74% of CVEs)Published 2021-12-31Updated 2024-08-04Assigner: mitre

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

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
2Fix pending
19Will not fix
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 20.04ghostscriptFixed9.50~dfsg-5ubuntu4.5UBUNTU-CVE-2021-45944
Ubuntu 18.04ghostscriptFixed9.26~dfsg+0-0ubuntu0.18.04.15UBUNTU-CVE-2021-45944
Ubuntu 16.04ghostscriptFix pending9.26~dfsg+0-0ubuntu0.16.04.14+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-45944
Ubuntu 14.04ghostscriptFix pending
Debian 14ghostscriptFixed9.54.0~dfsg-5DEBIAN-CVE-2021-45944
Debian 13ghostscriptFixed9.54.0~dfsg-5DEBIAN-CVE-2021-45944
Debian 12ghostscriptFixed9.54.0~dfsg-5DEBIAN-CVE-2021-45944
Red Hat Enterprise Linux 9ghostscriptNot affected
Red Hat Enterprise Linux 9ghostscript-docNot affected
Red Hat Enterprise Linux 9ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 9ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 9ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 9ghostscript-x11Not affected
Red Hat Enterprise Linux 9libgsNot affected
Red Hat Enterprise Linux 9libgs-develNot affected
Red Hat Enterprise Linux 8ghostscriptWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-docWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-tools-fontsWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-tools-printingWill not fix
Will not fix
Red Hat Enterprise Linux 8ghostscript-x11Will not fix
Will not fix
Red Hat Enterprise Linux 8libgsWill not fix
Will not fix
Red Hat Enterprise Linux 8libgs-develWill not fix
Will not fix
Red Hat Enterprise Linux 7ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-cupsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 7ghostscript-gtkWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libgs-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscriptWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-docWill not fix
Out of support scope
Red Hat Enterprise Linux 6ghostscript-gtkWill not fix
Out of support scope

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.