Vulnerability · Published Sep 22, 2025 · Assigned by mitre

CVE-2025-59800

Medium 4.3

In plain English

A medium-severity integer overflow in Ghostscript from Artifex. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.2%top 92.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23ghostscript10.06.0-r0ALPINE-CVE-2025-59800
Alpine:v3.24ghostscript10.06.0-r0ALPINE-CVE-2025-59800
Debian:12ghostscriptno fix listedDEBIAN-CVE-2025-59800
Debian:13ghostscriptno fix listedDEBIAN-CVE-2025-59800
Debian:14ghostscript10.06.0~dfsg-1DEBIAN-CVE-2025-59800
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.13USN-7782-1
Ubuntu:22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.13UBUNTU-CVE-2025-59800
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.8UBUNTU-CVE-2025-59800
Ubuntu:24.04:LTSghostscript10.02.1~dfsg1-0ubuntu7.8USN-7782-1
Ubuntu:25.10ghostscript10.05.0dfsg1-0ubuntu4UBUNTU-CVE-2025-59800

Affected products (as reported)

VendorProductVersions
Artifex Ghostscript 0 – through 10.05.1

Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

References