USN-6897-1

Type: Security
Severity: Medium
Published: 2024-07-15
Ubuntu 20.04 LTS (Focal Fossa)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)

It was discovered that Ghostscript incorrectly handled certain long PDF filter names. An attacker could possibly use this issue to cause Ghostscript to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29506) It was discovered that Ghostscript incorrectly handled certain API parameters. An attacker could possibly use this issue to cause Ghostscript to crash, resulting in a denial of service. This issue only affected Ubuntu 24.04 LTS. (CVE-2024-29507) It was discovered that Ghostscript incorrectly handled certain BaseFont names. An attacker could use this issue to cause Ghostscript to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2024-29508) It was discovered that Ghostscript incorrectly handled certain PDF passwords that contained NULL bytes. An 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 and Ubuntu 24.04 LTS. (CVE-2024-29509) It was discovered that Ghostscript incorrectly handled certain certain file paths when doing OCR. An attacker could use this issue to read arbitrary files and write error messages to arbitrary files. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29511) Update Instructions: Run `sudo pro fix USN-6897-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: ghostscript - 9.50~dfsg-5ubuntu4.13 ghostscript-doc - 9.50~dfsg-5ubuntu4.13 ghostscript-x - 9.50~dfsg-5ubuntu4.13 libgs-dev - 9.50~dfsg-5ubuntu4.13 libgs9 - 9.50~dfsg-5ubuntu4.13 libgs9-common - 9.50~dfsg-5ubuntu4.13 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T00:47:41.838Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T00:47:41.838Z UTC. Last updated 2025-11-26T08:27:41.537Z UTC.

Upstream Advisory

Affected Packages

  • ghostscript 9.50~dfsg-5ubuntu4.13-9.50~dfsg-5ubuntu4.13

  • ghostscript-doc 9.50~dfsg-5ubuntu4.13-9.50~dfsg-5ubuntu4.13

  • ghostscript-x 9.50~dfsg-5ubuntu4.13-9.50~dfsg-5ubuntu4.13

  • libgs-dev 9.50~dfsg-5ubuntu4.13-9.50~dfsg-5ubuntu4.13

  • libgs9 9.50~dfsg-5ubuntu4.13-9.50~dfsg-5ubuntu4.13

  • libgs9-common 9.50~dfsg-5ubuntu4.13-9.50~dfsg-5ubuntu4.13

  • ghostscript 9.55.0~dfsg1-0ubuntu5.9-9.55.0~dfsg1-0ubuntu5.9

  • ghostscript-doc 9.55.0~dfsg1-0ubuntu5.9-9.55.0~dfsg1-0ubuntu5.9

  • ghostscript-x 9.55.0~dfsg1-0ubuntu5.9-9.55.0~dfsg1-0ubuntu5.9

  • libgs-dev 9.55.0~dfsg1-0ubuntu5.9-9.55.0~dfsg1-0ubuntu5.9

  • libgs9 9.55.0~dfsg1-0ubuntu5.9-9.55.0~dfsg1-0ubuntu5.9

  • libgs9-common 9.55.0~dfsg1-0ubuntu5.9-9.55.0~dfsg1-0ubuntu5.9

  • ghostscript 10.02.1~dfsg1-0ubuntu7.3-10.02.1~dfsg1-0ubuntu7.3

  • ghostscript-doc 10.02.1~dfsg1-0ubuntu7.3-10.02.1~dfsg1-0ubuntu7.3

  • libgs-common 10.02.1~dfsg1-0ubuntu7.3-10.02.1~dfsg1-0ubuntu7.3

  • libgs-dev 10.02.1~dfsg1-0ubuntu7.3-10.02.1~dfsg1-0ubuntu7.3

  • libgs10 10.02.1~dfsg1-0ubuntu7.3-10.02.1~dfsg1-0ubuntu7.3

  • libgs10-common 10.02.1~dfsg1-0ubuntu7.3-10.02.1~dfsg1-0ubuntu7.3

Interested in being alerted when there are new versions of ghostscript and the other packages? Set up an alert.
USN-6897-1: Ghostscript vulnerabilities | Package Alert