CVEfocus › CVE database › CVE-2022-1350

CVE-2022-1350GhostPCL gsmchunk.c chunk_free_object memory corruption

CVSS 4.3 MediumEPSS 0.9% (higher than 58% of CVEs)Published 2022-04-14Updated 2025-04-15Assigner: VulDB

A vulnerability classified as problematic was found in GhostPCL 9.55.0. This vulnerability affects the function chunk_free_object of the file gsmchunk.c. The manipulation with a malicious file leads to a memory corruption. The attack can be initiated remotely but requires user interaction. The exploit has been disclosed to the public as a POC and may be used. It is recommended to apply the patches to fix this issue.

CWE-119

What to do

Fixed builds are available from Debian: 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

3Fixed
2Fix pending
20Not 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 16.04ghostscriptFix pending
Ubuntu 14.04ghostscriptFix pending
Debian 14ghostscriptFixed10.0.0~dfsg-3DEBIAN-CVE-2022-1350
Debian 13ghostscriptFixed10.0.0~dfsg-3DEBIAN-CVE-2022-1350
Debian 12ghostscriptFixed10.0.0~dfsg-3DEBIAN-CVE-2022-1350
Red Hat Enterprise Linux 8ghostscriptNot affected
Red Hat Enterprise Linux 8ghostscript-docNot affected
Red Hat Enterprise Linux 8ghostscript-tools-dvipdfNot affected
Red Hat Enterprise Linux 8ghostscript-tools-fontsNot affected
Red Hat Enterprise Linux 8ghostscript-tools-printingNot affected
Red Hat Enterprise Linux 8ghostscript-x11Not affected
Red Hat Enterprise Linux 8libgsNot affected
Red Hat Enterprise Linux 8libgs-develNot affected
Red Hat Enterprise Linux 7ghostscriptNot affected
Red Hat Enterprise Linux 7ghostscript-cupsNot affected
Red Hat Enterprise Linux 7ghostscript-develNot affected
Red Hat Enterprise Linux 7ghostscript-docNot affected
Red Hat Enterprise Linux 7ghostscript-gtkNot affected
Red Hat Enterprise Linux 7libgsNot affected
Red Hat Enterprise Linux 7libgs-develNot affected
Red Hat Enterprise Linux 6ghostscriptNot affected
Red Hat Enterprise Linux 6ghostscript-develNot affected
Red Hat Enterprise Linux 6ghostscript-docNot affected
Red Hat Enterprise Linux 6ghostscript-gtkNot affected

What the vendor says

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

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.