Incorrect Use of Privileged APIs Affecting ghostscript package, versions <10.05.1~dfsg-1+deb13u2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.13% (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-ECHOLATEST-GHOSTSCRIPT-22391658
  • published10 Nov 2026
  • disclosed10 Nov 2026

Introduced: 10 Nov 2026

NewCVE-2026-125396  (opens in a new tab)
CWE-648  (opens in a new tab)

How to fix?

Upgrade Echo:latest ghostscript to version 10.05.1~dfsg-1+deb13u2 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 Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps, which calls the privileged .forceput operator without checking operand types. Attackers can supply crafted PostScript or PDF documents that trigger a type error, recover .forceput via a custom error handler, and cause a use-after-free across save/restore to execute arbitrary code.

CVSS Base Scores

version 3.1