5.5

CVE-2025-59800: artifex ghostscript Integer Overflow or Wraparound

CVSS: 5.5v3.1MediumAnalyzed
AliasesALPINE-CVE-2025-59800UBUNTU-CVE-2025-59800DEBIAN-CVE-2025-59800
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.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 22-09-2025
    PublishedVulnerability first disclosed.
  2. 23-09-2025
    Last 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 version

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 score
0.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
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

References

7 links