Integer Overflow or Wraparound Affecting ghostscript package, versions <10.07.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-GHOSTSCRIPT-15878537
  • published3 Apr 2026
  • disclosed22 Sept 2025

Introduced: 22 Sep 2025

CVE-2025-59800  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Wolfi ghostscript to version 10.07.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ghostscript package and not the ghostscript package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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 Base Scores

version 3.1