Stack-based Buffer Overflow Affecting ghostscript package, versions [,10.06.0rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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-UNMANAGED-GHOSTSCRIPT-13003726
  • published22 Sept 2025
  • disclosed22 Sept 2025
  • creditPiotr Kajda

Introduced: 22 Sep 2025

NewCVE-2025-59799  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade ghostscript to version 10.06.0rc1 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the pdfmark_coerce_dest function. An attacker can execute arbitrary code or cause a denial of service by supplying a large size value.

CVSS Base Scores

version 4.0
version 3.1