DEBIAN-CVE-2026-125396: Use After Free

Published Nov 10, 2026
·
Updated

Ghostscript before 10.08.0 contains a -dSAFER bypass vulnerability in the .putgstringcopy procedure in gsfonts.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.

Affected Software

3 affected componentsFixes available
debian/ghostscript*
debian/ghostscript<10.05.1~dfsg-1+deb13u2
10.05.1~dfsg-1+deb13u2
debian/ghostscript<10.08.0~dfsg-1
10.08.0~dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ghostscript to a version that resolves this vulnerability.

    Fixed in 10.05.1~dfsg-1+deb13u2
  2. Upgrade

    Upgrade debian/ghostscript to a version that resolves this vulnerability.

    Fixed in 10.08.0~dfsg-1

Event History

Nov 10, 2026
CVE Published
via OSV·12:17 AM
Data Sourced
via OSV·12:17 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What access and interaction does exploitation require?

The severity vector indicates local attack access, no privileges required, and user interaction required. The attacker must provide a crafted PostScript or PDF document for Ghostscript to process.

2

Which Ghostscript versions are affected?

Ghostscript versions before 10.08.0 are affected. The listed software is Debian's ghostscript package.

3

What is the likely impact if exploitation succeeds?

A successful exploit can use a use-after-free condition across save/restore operations to execute arbitrary code. The provided severity vector rates confidentiality, integrity, and availability impact as high.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203