ubuntu-cve-2025-48708
Vulnerability from osv_ubuntu
Published
2025-05-23 04:15
Modified
2026-04-22 07:56
Summary
Details

gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF document includes its password in cleartext.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "9.50~dfsg-5ubuntu4.15+esm1"
          },
          {
            "binary_name": "ghostscript-x",
            "binary_version": "9.50~dfsg-5ubuntu4.15+esm1"
          },
          {
            "binary_name": "libgs9",
            "binary_version": "9.50~dfsg-5ubuntu4.15+esm1"
          },
          {
            "binary_name": "libgs9-common",
            "binary_version": "9.50~dfsg-5ubuntu4.15+esm1"
          }
        ],
        "priority_reason": "Uncommon use case of using # instead of = on command line"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@9.50~dfsg-5ubuntu4.15+esm1?arch=source\u0026distro=esm-infra/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.50~dfsg-5ubuntu4.15+esm1"
            }
          ],
          "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",
        "9.50~dfsg-5ubuntu4.13",
        "9.50~dfsg-5ubuntu4.14",
        "9.50~dfsg-5ubuntu4.15"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.12"
          },
          {
            "binary_name": "ghostscript-x",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.12"
          },
          {
            "binary_name": "libgs9",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.12"
          },
          {
            "binary_name": "libgs9-common",
            "binary_version": "9.55.0~dfsg1-0ubuntu5.12"
          }
        ],
        "priority_reason": "Uncommon use case of using # instead of = on command line"
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@9.55.0~dfsg1-0ubuntu5.12?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.55.0~dfsg1-0ubuntu5.12"
            }
          ],
          "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",
        "9.55.0~dfsg1-0ubuntu5.9",
        "9.55.0~dfsg1-0ubuntu5.10",
        "9.55.0~dfsg1-0ubuntu5.11"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.7"
          },
          {
            "binary_name": "libgs-common",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.7"
          },
          {
            "binary_name": "libgs10",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.7"
          },
          {
            "binary_name": "libgs10-common",
            "binary_version": "10.02.1~dfsg1-0ubuntu7.7"
          }
        ],
        "priority_reason": "Uncommon use case of using # instead of = on command line"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@10.02.1~dfsg1-0ubuntu7.7?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "10.02.1~dfsg1-0ubuntu7.7"
            }
          ],
          "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",
        "10.02.1~dfsg1-0ubuntu7.3",
        "10.02.1~dfsg1-0ubuntu7.4",
        "10.02.1~dfsg1-0ubuntu7.5",
        "10.02.1~dfsg1-0ubuntu7.6"
      ]
    }
  ],
  "aliases": [],
  "details": "gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF document includes its password in cleartext.",
  "id": "UBUNTU-CVE-2025-48708",
  "modified": "2026-04-22T07:56:54Z",
  "published": "2025-05-23T04:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-48708"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-48708"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2025/05/23/2"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7623-1"
    }
  ],
  "related": [
    "USN-7623-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/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": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-48708"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…