Description
A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
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 | 10.02.0~dfsg-1 | — |
| Debian 13 | ghostscript | 10.02.0~dfsg-1 | — |
| Debian 12 | ghostscript | 10.0.0~dfsg-11+deb12u2 | — |
| Debian 10 | ghostscript | 9.27~dfsg-2+deb10u8 | DLA-3519-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | ghostscript | 9.55.0~dfsg1-0ubuntu5.4 | USN-6297-1 |
| Ubuntu 20.04 LTS | ghostscript | 9.50~dfsg-5ubuntu4.9 | USN-6297-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.18.04.18+esm1 | USN-6297-1 |
| Ubuntu Pro 16.04 LTS | ghostscript | 9.26~dfsg+0-0ubuntu0.16.04.14+esm6 | USN-6297-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | libgs +7 | 9.54.0-13.el9 | RHSA-2023:6544 |
| RHEL 8 | libgs +7 | 9.27-11.el8 | RHSA-2023:7053 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | libgs +7 | 9.54.0-13.el9 | ALSA-2023:6544 |
| AlmaLinux 8 | libgs +7 | 9.27-11.el8 | ALSA-2023:7053 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | ghostscript | 9.52-150000.170.1 | SUSE-SU-2023:3438-1 |
| SLES 15 SP4 | ghostscript | 9.52-150000.170.1 | SUSE-SU-2023:3438-1 |
| SLES 12 SP5 | ghostscript | 9.52-23.57.1 | SUSE-SU-2023:3439-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | ghostscript | 9.52-23.57.1 | SUSE-SU-2023:3439-1 |
| SUSE Manager Server 4.2 | ghostscript | 9.52-150000.170.1 | SUSE-SU-2023:3438-1 |
| SUSE Manager Proxy 4.2 | ghostscript | 9.52-150000.170.1 | SUSE-SU-2023:3438-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostscript | 9.56.1-5.1 | openSUSE-SU-2024:13081-1 |
| openSUSE Leap 15.5 | ghostscript | 9.52-150000.170.1 | SUSE-SU-2023:3438-1 |
| openSUSE Leap 15.4 | ghostscript | 9.52-150000.170.1 | SUSE-SU-2023:3438-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libgs +8 | 9.56.1-7.amzn2023.0.3 | ALAS2023-2023-296 |
| Amazon Linux 2 | libgs +5 | 9.25-5.amzn2.0.4 | ALAS2-2023-2204 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | libgs +7 | 9.54.0-13.el9 | ELSA-2023-6544 |
| Oracle Linux 8 | libgs +7 | 9.27-11.el8 | ELSA-2023-7053 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ghostscript | 10.03.0-r0 | — |
Advisories 16
- ALSA-2023:6544 Moderate: ghostscript security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:7053 Moderate: ghostscript security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:6544 Red Hat Security Advisory: ghostscript security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:7053 Red Hat Security Advisory: ghostscript security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-6297-1 ghostscript vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3519-1 ghostscript - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:3438-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:3439-1 Security update for ghostscript SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13081-1 ghostscript-9.56.1-5.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1968 GhostScript: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 3, 2024
- ALAS2023-2023-296 Moderate: ghostscript security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ELSA-2023-7053 Moderate: ghostscript security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 17, 2023
- ELSA-2023-6544 Moderate: ghostscript security and bug fix update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- ALAS2-2023-2204 Moderate: ghostscript security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 23, 2023
References
- RHSA-2023:6544 vendor-advisory
- RHSA-2023:7053 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-38559 vdb-entry
- https://bugs.ghostscript.com/show_bug.cgi?id=706897
- RHBZ#2224367 issue-tracking
- https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d81b82c70bc1