CVE-2025-59800 json
In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer ov…
published 2025-09-22 13 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-30396
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in ocr_line8.
Patch / fix
- artifex ghostscript 10.06.0rc1
- ghostscript ghostscript 10.06.0rc1
- ghostscript Debian 14 10.06.0~dfsg-1
debian advisories DEBIAN-CVE-2025-59800
- ghostscript Ubuntu 22.04 LTS 9.55.0~dfsg1-0ubuntu5.13
- ghostscript Ubuntu 24.04 LTS 10.02.1~dfsg1-0ubuntu7.8
- ghostscript Ubuntu 25.10 10.05.0dfsg1-0ubuntu4
ubuntu advisories UBUNTU-CVE-2025-59800
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ghostscript openSUSE Leap 16.0 10.06.0-160000.1.1
- ghostscript openSUSE Tumbleweed 10.06.0-2.1
opensuse advisories openSUSE-SU-2026:20592-1openSUSE-SU-2025:15707-1
- ghostscript Alpine 3.24, Alpine 3.23 10.06.0-r0
alpine advisories ALPINE-CVE-2025-59800
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-59800 updated cvss 4.0
Artifex Ghostscript: Artifex Ghostscript: Denial of Service via crafted document processing
-
Red Hat Enterprise Linux 6 ghostscript, ghostscript-gtk Red Hat Enterprise Linux 7 libgs, ghostscript, ghostscript-gtk, ghostscript-cups Red Hat Enterprise Linux 8 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 9 libgs, ghostscript, ghostscript-x11, ghostscript-tools-fonts, ghostscript-tools-dvipdf, ghostscript-tools-printing Red Hat Enterprise Linux 10 ghostscriptaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.ghostscript.com https://bugs.ghostscript.com/show_bug.cgi?id=708602 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Artifex Ghostscript
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
Sources
- CVE List CVE-2025-59800
- NVD CVE-2025-59800
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.