CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (5.5) in artifex ghostscript. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-59798 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59798?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59798?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59798 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Artifex Ghostscript | through 10.05.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ghostscript | 9.53.3~dfsg-7+deb11u11 | DLA-4330-1 |
| Debian | 12 | ghostscript | 10.0.0~dfsg-11+deb12u8 | DEBIAN-CVE-2025-59798 DSA-6024-1 |
| Debian | 13 | ghostscript | 10.05.1~dfsg-1+deb13u1 | DEBIAN-CVE-2025-59798 DSA-6024-1 |
| Debian | 14 | ghostscript | 10.06.0~dfsg-1 | DEBIAN-CVE-2025-59798 |
| Ubuntu | 22.04:LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.13 | UBUNTU-CVE-2025-59798 USN-7782-1 |
| Ubuntu | 24.04:LTS | ghostscript | 10.02.1~dfsg1-0ubuntu7.8 | UBUNTU-CVE-2025-59798 USN-7782-1 |
| Ubuntu | 25.10 | ghostscript | 10.05.0dfsg1-0ubuntu4 | UBUNTU-CVE-2025-59798 |
| Ubuntu | Pro:16.04:LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm10 | UBUNTU-CVE-2025-59798 USN-7904-1 |
| Ubuntu | Pro:18.04:LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18+esm5 | UBUNTU-CVE-2025-59798 USN-7904-1 |
| Ubuntu | Pro:20.04:LTS | ghostscript | 9.50~dfsg-5ubuntu4.15+esm2 | UBUNTU-CVE-2025-59798 USN-7904-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 | ghostscript | 9.52-150000.211.1 | SUSE-SU-2025:4148-1 |
| SUSE | Linux Enterprise Server LTSS Extended Security 12 SP5 | ghostscript | 9.52-23.97.1 | SUSE-SU-2025:4125-1 |
| openSUSE | Leap 15.6 | ghostscript | 9.52-150000.211.1 | SUSE-SU-2025:4148-1 |
| openSUSE | Leap 16.0 | ghostscript | 10.06.0-160000.1.1 | openSUSE-SU-2026:20592-1 |
| openSUSE | Tumbleweed | ghostscript | 10.06.0-2.1 | openSUSE-SU-2025:15707-1 |
| Alpine | v3.21, v3.22 | ghostscript | 10.08.0-r0 | ALPINE-CVE-2025-59798 |
| Alpine | v3.23, v3.24 | ghostscript | 10.06.0-r0 | ALPINE-CVE-2025-59798 |
| Alpaquita | stream | ghostscript | 10.06.0-r0 | BELL-CVE-2025-59798 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
This vulnerability is rated Moderate for Red Hat products. A stack-based buffer overflow in Artifex Ghostscript's `pdf_write_cmap` function can lead to a denial of service. Exploitation requires processing a specially crafted PDF file, causing the application to become unresponsive.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | ghostscript | Fix deferred | |
| Red Hat Enterprise Linux 6 | ghostscript | Fix deferred | |
| Red Hat Enterprise Linux 7 | ghostscript | Fix deferred | |
| Red Hat Enterprise Linux 8 | ghostscript | Fix deferred | |
| Red Hat Enterprise Linux 9 | ghostscript | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59798.