Stack-based Buffer Overflow Affecting ghostscript package, versions <10.06.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (3rd 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-MINIMOSLATEST-GHOSTSCRIPT-13323865
  • published6 Oct 2025
  • disclosed22 Sept 2025

Introduced: 22 Sep 2025

CVE-2025-59801  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Minimos:latest ghostscript to version 10.06.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 Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

In Artifex GhostXPS before 10.06.0, there is a stack-based buffer overflow in xps_unpredict_tiff in xpstiff.c because the samplesperpixel value is not checked.