USN-6897-1 (UBUNTU-CVE-2024-29506)

Vulnerability from osv_ubuntu – Published: 2024-07-15 11:27 – Updated: 2026-04-22 07:37 – Source website
VLAI
Summary
ghostscript vulnerabilities
Details

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)

Impacted products
Ecosystem Package Version
Ubuntu:20.04:LTS ghostscript
pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.13?arch=source&distro=focal
Affected: < 9.50~dfsg-5ubuntu4.13 (ecosystem)
9.27~dfsg+0-0ubuntu39.27~dfsg+0-0ubuntu49.50~dfsg-5ubuntu19.50~dfsg-5ubuntu29.50~dfsg-5ubuntu39.50~dfsg-5ubuntu49.50~dfsg-5ubuntu4.19.50~dfsg-5ubuntu4.29.50~dfsg-5ubuntu4.39.50~dfsg-5ubuntu4.4 and 8 more (see JSON)
Ubuntu:22.04:LTS ghostscript
pkg:deb/ubuntu/ghostscript@9.55.0~dfsg1-0ubuntu5.9?arch=source&distro=jammy
Affected: < 9.55.0~dfsg1-0ubuntu5.9 (ecosystem)
9.54.0~dfsg1-0ubuntu29.55.0~dfsg1-0ubuntu49.55.0~dfsg1-0ubuntu59.55.0~dfsg1-0ubuntu5.19.55.0~dfsg1-0ubuntu5.29.55.0~dfsg1-0ubuntu5.39.55.0~dfsg1-0ubuntu5.49.55.0~dfsg1-0ubuntu5.59.55.0~dfsg1-0ubuntu5.69.55.0~dfsg1-0ubuntu5.7
Ubuntu:24.04:LTS ghostscript
pkg:deb/ubuntu/ghostscript@10.02.1~dfsg1-0ubuntu7.3?arch=source&distro=noble
Affected: < 10.02.1~dfsg1-0ubuntu7.3 (ecosystem)
10.01.2~dfsg1-0ubuntu210.01.2~dfsg1-0ubuntu2.110.02.1~dfsg1-0ubuntu110.02.1~dfsg1-0ubuntu210.02.1~dfsg1-0ubuntu510.02.1~dfsg1-0ubuntu610.02.1~dfsg1-0ubuntu710.02.1~dfsg1-0ubuntu7.1

{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-29508",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "9.50~dfsg-5ubuntu4.13"
          },
          {
            "binary_name": "ghostscript-x",
            "binary_version": "9.50~dfsg-5ubuntu4.13"
          },
          {
            "binary_name": "libgs9",
            "binary_version": "9.50~dfsg-5ubuntu4.13"
          },
          {
            "binary_name": "libgs9-common",
            "binary_version": "9.50~dfsg-5ubuntu4.13"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.13?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.50~dfsg-5ubuntu4.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.27~dfsg+0-0ubuntu3",
        "9.27~dfsg+0-0ubuntu4",
        "9.50~dfsg-5ubuntu1",
        "9.50~dfsg-5ubuntu2",
        "9.50~dfsg-5ubuntu3",
        "9.50~dfsg-5ubuntu4",
        "9.50~dfsg-5ubuntu4.1",
        "9.50~dfsg-5ubuntu4.2",
        "9.50~dfsg-5ubuntu4.3",
        "9.50~dfsg-5ubuntu4.4",
        "9.50~dfsg-5ubuntu4.5",
        "9.50~dfsg-5ubuntu4.6",
        "9.50~dfsg-5ubuntu4.7",
        "9.50~dfsg-5ubuntu4.8",
        "9.50~dfsg-5ubuntu4.9",
        "9.50~dfsg-5ubuntu4.10",
        "9.50~dfsg-5ubuntu4.11",
        "9.50~dfsg-5ubuntu4.12"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-29506",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29508",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29509",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29511",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.9"
          },
          {
            "binary_name": "ghostscript-x",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.9"
          },
          {
            "binary_name": "libgs9",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.9"
          },
          {
            "binary_name": "libgs9-common",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@9.55.0~dfsg1-0ubuntu5.9?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.55.0~dfsg1-0ubuntu5.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.54.0~dfsg1-0ubuntu2",
        "9.55.0~dfsg1-0ubuntu4",
        "9.55.0~dfsg1-0ubuntu5",
        "9.55.0~dfsg1-0ubuntu5.1",
        "9.55.0~dfsg1-0ubuntu5.2",
        "9.55.0~dfsg1-0ubuntu5.3",
        "9.55.0~dfsg1-0ubuntu5.4",
        "9.55.0~dfsg1-0ubuntu5.5",
        "9.55.0~dfsg1-0ubuntu5.6",
        "9.55.0~dfsg1-0ubuntu5.7"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2024-29506",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29507",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29508",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29509",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2024-29511",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.3"
          },
          {
            "binary_name": "libgs-common",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.3"
          },
          {
            "binary_name": "libgs10",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.3"
          },
          {
            "binary_name": "libgs10-common",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@10.02.1~dfsg1-0ubuntu7.3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.02.1~dfsg1-0ubuntu7.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "10.01.2~dfsg1-0ubuntu2",
        "10.01.2~dfsg1-0ubuntu2.1",
        "10.02.1~dfsg1-0ubuntu1",
        "10.02.1~dfsg1-0ubuntu2",
        "10.02.1~dfsg1-0ubuntu5",
        "10.02.1~dfsg1-0ubuntu6",
        "10.02.1~dfsg1-0ubuntu7",
        "10.02.1~dfsg1-0ubuntu7.1"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that Ghostscript incorrectly handled certain long PDF\nfilter names. An attacker could possibly use this issue to cause\nGhostscript to crash, resulting in a denial of service. This issue only\naffected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29506)\n\nIt was discovered that Ghostscript incorrectly handled certain API\nparameters. An attacker could possibly use this issue to cause Ghostscript\nto crash, resulting in a denial of service. This issue only affected Ubuntu\n24.04 LTS. (CVE-2024-29507)\n\nIt was discovered that Ghostscript incorrectly handled certain BaseFont\nnames. An attacker could use this issue to cause Ghostscript to crash,\nresulting in a denial of service, or possibly execute arbitrary code.\n(CVE-2024-29508)\n\nIt was discovered that Ghostscript incorrectly handled certain PDF\npasswords that contained NULL bytes. An attacker could use this issue to\ncause Ghostscript to crash, resulting in a denial of service, or possibly\nexecute arbitrary code. This issue only affected Ubuntu 22.04 LTS and\nUbuntu 24.04 LTS. (CVE-2024-29509)\n\nIt was discovered that Ghostscript incorrectly handled certain certain file\npaths when doing OCR. An attacker could use this issue to read arbitrary\nfiles and write error messages to arbitrary files. This issue only affected\nUbuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-29511)\n",
  "id": "USN-6897-1",
  "modified": "2026-04-22T07:37:10Z",
  "published": "2024-07-15T11:27:33Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6897-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-29506"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-29507"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-29508"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-29509"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-29511"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "ghostscript vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2024-29506",
    "UBUNTU-CVE-2024-29507",
    "UBUNTU-CVE-2024-29508",
    "UBUNTU-CVE-2024-29509",
    "UBUNTU-CVE-2024-29511"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.