USN-5643-1
It was discovered that GhostScript incorrectly handled certain PDF files. If a user or automated system were tricked into opening a specially crafted PDF file, a remote attacker could use this issue to cause GhostScript to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-27792) It was discovered that GhostScript incorrectly handled certain PDF files. If a user or automated system were tricked into opening a specially crafted PDF file, a remote attacker could use this issue to cause GhostScript to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-2085) Update Instructions: Run `sudo pro fix USN-5643-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ghostscript - 9.55.0~dfsg1-0ubuntu5.1 ghostscript-x - 9.55.0~dfsg1-0ubuntu5.1 libgs-dev - 9.55.0~dfsg1-0ubuntu5.1 ghostscript-doc - 9.55.0~dfsg1-0ubuntu5.1 libgs9 - 9.55.0~dfsg1-0ubuntu5.1 libgs9-common - 9.55.0~dfsg1-0ubuntu5.1 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC
Upstream Advisory
Affected Packages
ghostscript 9.55.0~dfsg1-0ubuntu5.1-9.55.0~dfsg1-0ubuntu5.1
ghostscript-x 9.55.0~dfsg1-0ubuntu5.1-9.55.0~dfsg1-0ubuntu5.1
libgs-dev 9.55.0~dfsg1-0ubuntu5.1-9.55.0~dfsg1-0ubuntu5.1
ghostscript-doc 9.55.0~dfsg1-0ubuntu5.1-9.55.0~dfsg1-0ubuntu5.1
libgs9 9.55.0~dfsg1-0ubuntu5.1-9.55.0~dfsg1-0ubuntu5.1
libgs9-common 9.55.0~dfsg1-0ubuntu5.1-9.55.0~dfsg1-0ubuntu5.1
ghostscript 9.50~dfsg-5ubuntu4.6-9.50~dfsg-5ubuntu4.6
ghostscript-x 9.50~dfsg-5ubuntu4.6-9.50~dfsg-5ubuntu4.6
libgs-dev 9.50~dfsg-5ubuntu4.6-9.50~dfsg-5ubuntu4.6
ghostscript-doc 9.50~dfsg-5ubuntu4.6-9.50~dfsg-5ubuntu4.6
libgs9 9.50~dfsg-5ubuntu4.6-9.50~dfsg-5ubuntu4.6
libgs9-common 9.50~dfsg-5ubuntu4.6-9.50~dfsg-5ubuntu4.6