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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.02% (5th 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-ALPINE323-GHOSTSCRIPT-14177380
  • published4 Dec 2025
  • disclosed22 Sept 2025

Introduced: 22 Sep 2025

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

How to fix?

Upgrade Alpine:3.23 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 Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size value.

CVSS Base Scores

version 3.1