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-13003727
  • published22 Sept 2025
  • disclosed22 Sept 2025
  • creditPiotr Kajda

Introduced: 22 Sep 2025

NewCVE-2025-59798  (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 due to improper handling of input in the pdf_write_cmap function. An attacker can cause unintended modification of memory by supplying crafted input to this function.

CVSS Base Scores

version 4.0
version 3.1