CVE-2025-59800: artifex ghostscript Integer Overflow or Wraparound
CVSS: 5.5v3.1MediumAnalyzed
AliasesALPINE-CVE-2025-59800UBUNTU-CVE-2025-59800DEBIAN-CVE-2025-59800CGA-2f38-42pm-9h6rCGA-6cq5-3m68-wjqqCGA-c8jh-p8p6-f4wgCGA-j2x8-7f2c-q565CGA-jmqp-9xxf-85c4CGA-jx58-988q-c784CGA-qc3g-g6cw-5563CGA-r4jg-j3cf-mwvj
Published 22-09-2025Last modified 23-09-2025
Vulnerability summary
CVE-2025-59800 is a medium (CVSS 5.5) Integer Overflow or Wraparound vulnerability in artifex ghostscript. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.1% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (NVD)EPSS score
0.18%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 3 · Related 4Timeline
- 22-09-2025PublishedVulnerability first disclosed.
- 23-09-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 versionMedium 5.5Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HSources7 sources · 4.3–5.5
- CVE.orgCNA4.3MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
7%
Versus all other CVEs
30-day change
0.00 pp
From 0.18% on 19-09-2026
19-09-202619-10-2026
EPSS score0.18%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard4 products
- ghostscript< 10.07.0-r0
- ghostscript-dbg< 10.07.0-r0
- ghostscript-dev< 10.07.0-r0
- ghostscript-doc< 10.07.0-r0
Wolfi4 products
- ghostscript< 10.07.0-r0
- ghostscript-dbg< 10.07.0-r0
- ghostscript-dev< 10.07.0-r0
- ghostscript-doc< 10.07.0-r0
Alpine1 product
- ghostscript< 10.06.0-r0
Artifex1 product
- ghostscript≤ 10.05.1
Debian1 product
- ghostscriptAll versions (No fix recorded) | < 10.06.0~dfsg-1
Ubuntu1 product
- ghostscript< 9.55.0~dfsg1-0ubuntu5.13 | < 10.02.1~dfsg1-0ubuntu7.8 | < 10.05.0dfsg1-0ubuntu4
6 vendors · 12 products