Stack-based Buffer Overflow Affecting ghostscript package, versions <9.55.0~dfsg1-0ubuntu5.13


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

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-UBUNTU2204-GHOSTSCRIPT-13045059
  • published30 Sept 2025
  • disclosed22 Sept 2025

Introduced: 22 Sep 2025

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

How to fix?

Upgrade Ubuntu:22.04 ghostscript to version 9.55.0~dfsg1-0ubuntu5.13 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 Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdf_write_cmap in devices/vector/gdevpdtw.c.

CVSS Base Scores

version 3.1