Description
A heap-based buffer overwrite vulnerability was found in GhostScript's lp8000_print_page() function in the gdevlp8k.c file. This flaw allows an attacker to trick a user into opening a crafted PDF file, triggering the heap buffer overflow that could lead to memory corruption or a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ghostscript | 9.51~dfsg-1 | — |
| Debian 13 | ghostscript | 9.51~dfsg-1 | — |
| Debian 12 | ghostscript | 9.51~dfsg-1 | — |
| Debian 10 | ghostscript | 9.27~dfsg-2+deb10u6 | DLA-3096-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.1 | USN-5643-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.6 | USN-5643-1 |
| Ubuntu 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.17 | USN-5643-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm4 | USN-5618-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libgs +7 | 9.27-16.el8_10 | RHSA-2025:4362 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | libgs +7 | 9.27-16.el8_10 | ALSA-2025:4362 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | ghostscript | 9.27-16.el8_10 | RLSA-2025:4362 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libgs +5 | 9.25-5.amzn2.0.1 | ALAS2-2023-1947 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libgs +7 | 9.27-16.el8_10 | ELSA-2025-4362 |
Advisories 9
- ALSA-2025:4362 Moderate: ghostscript security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:4362 Red Hat Security Advisory: ghostscript security update Red Hat Security Advisories (RHSA) · Aug 7, 2026
- USN-5618-1 ghostscript vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5643-1 ghostscript vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-3096-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2025:4362 Moderate: ghostscript security update Rocky Linux Security Advisories · Jul 29, 2025
- WID-SEC-2022-1490 Ghostscript: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · May 1, 2025
- ELSA-2025-4362 Moderate: ghostscript security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Apr 30, 2025
- ALAS2-2023-1947 Important: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Feb 22, 2023