VDB

CVE-2024-46953

CVE-2024-46953 PUBLISHED CVSS 7.8 HIGH

Reported by mitre · Published November 10, 2024

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ghostscriptAlpine10.04.0-r0
libgs-develAmazon Linux9.54.0-9.amzn2.0.7
ghostscriptAmazon Linux9.56.1-7.amzn2023.0.11, 9.54.0-9.amzn2.0.7
libgsAmazon Linux9.56.1-7.amzn2023.0.11
ghostscript-docAmazon Linux9.56.1-7.amzn2023.0.11
ghostscript-gtkAmazon Linux9.56.1-7.amzn2023.0.11
ghostscriptartifex10.04.0

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
alpineghostscript0
amazon:2libgs-devel0
amazon:2023ghostscript0
amazon:2023libgs0
amazon:2ghostscript0
amazon:2023ghostscript-doc0
amazon:2023ghostscript-gtk0
n/an/a*
amazon:2libgs0
amazon:2023libgs-devel0
amazon:2023ghostscript-tools-printing0
amazon:2ghostscript-doc0
amazon:2ghostscript-gtk0
amazon:2ghostscript-cups0
amazon:2023ghostscript-tools-dvipdf0
amazon:2023ghostscript-tools-fonts0
amazon:2023ghostscript-x110
artifexghostscript10.04.0

Timeline

  • Oct 23, 2024 CVE Published
  • Nov 10, 2024 Coalition ESS Score (19 in total, the first dated here)
  • Nov 11, 2024 EPSS Score (30 in total, the first dated here)
  • Apr 18, 2026 PoC Published
  • Jun 2, 2026 Security Advisory (8 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-46953
vulnetix vdb fixes CVE-2024-46953

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-46953/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›