Skip to main content
CVE-2026-125396VulnerabilityPublished Updated

Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gs_fonts.ps

Affects ghostscriptSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125396· High 8.5

Not known to be exploited · CVSS 8.5 High · fixed in 10.08.0 : patch ghostscript soon.

Data as of 13 Nov 2026, 22:31 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.5
CNA (VulnCheck)CVSS 3.17.8
Patch
Available – fixed in 10.08.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=stonkingOther threatsAffected
  • 10.06.0~dfsg-3ubuntu1 – 10.07.1~dfsg-1ubuntu2.1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=resoluteOther threatsAffected
  • 10.05.0dfsg1-0ubuntu4 – 10.06.0~dfsg-3ubuntu1.2
5 affected builds
Fixed in–
Ubuntu 24.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=nobleOther threatsAffected
  • 10.01.2~dfsg1-0ubuntu2 – 10.02.1~dfsg1-0ubuntu7.10
16 affected builds
Fixed in–
Ubuntu 22.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=jammyOther threatsAffected
  • 9.54.0~dfsg1-0ubuntu2 – 9.55.0~dfsg1-0ubuntu5.15
17 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra/focalOther threatsAffected
  • 9.27~dfsg+0-0ubuntu3 – 9.50~dfsg-5ubuntu4.15+esm3
24 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSghostscriptpkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 9.21~dfsg+1-0ubuntu3 – 9.26~dfsg+0-0ubuntu0.18.04.18+esm6
29 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Ghostscript version 10.08.0 and later. Users should upgrade to version 10.08.0 or newer to remediate this vulnerability. No other mitigation or temporary workaround is indicated in the provided data.

Description

Ghostscript versions before 10.08.0 contain a vulnerability that allows bypassing the -dSAFER security option via the .putgstringcopy procedure in gs_fonts.ps. This procedure calls the privileged .forceput operator without verifying operand types. Crafted PostScript or PDF documents can trigger a type error, enabling attackers to recover .forceput through a custom error handler and cause a use-after-free condition across save/restore operations, potentially leading to arbitrary code execution.

References

Community reviews

Loading reviews…