CVE-2023-38559: Ghostscript: 1973 in devn_pcx_write_rle could result in dos

Published Jul 17, 2023
·
Updated

A buffer overflow flaw was found in base/gdevdevn.c:1973 in devnpcxwriterle() 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.

Other sources

A buffer overflow vulnerability in base/gdevdevn.c:1973 in devnpcxwriterle() allows a local attacker to cause a denial of service via a crafted PDF file and outputing it for DEVN device with gs.

— Red Hat

Affected Software

17 affected componentsFixes available
ubuntu/ghostscript<9.26~dfsg+0-0ubuntu0.18.04.18+
9.26~dfsg+0-0ubuntu0.18.04.18+
ubuntu/ghostscript<9.50~dfsg-5ubuntu4.9
9.50~dfsg-5ubuntu4.9
ubuntu/ghostscript<9.55.0~dfsg1-0ubuntu5.4
9.55.0~dfsg1-0ubuntu5.4
ubuntu/ghostscript<10.0.0~dfsg1-0ubuntu1.3
10.0.0~dfsg1-0ubuntu1.3
ubuntu/ghostscript<9.26~dfsg+0-0ubuntu0.16.04.14+
9.26~dfsg+0-0ubuntu0.16.04.14+
ubuntu/ghostscript<10.01.2~dfsg1-0ubuntu2
10.01.2~dfsg1-0ubuntu2
Artifex Ghostscript
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Debian Debian Linux=10.0
Artifex Ghostscript<10.02.0
debian/ghostscript<10.0.0~dfsg-11+deb12u2
10.0.0~dfsg-11+deb12u2
debian/ghostscript<10.02.0~dfsg-1
10.02.0~dfsg-1
debian/ghostscript<10.02.0~dfsg-1
10.02.0~dfsg-1
debian/ghostscript
10.0.0~dfsg-11+deb12u810.05.1~dfsg-1+deb13u110.05.1~dfsg-1+deb13u310.08.0~dfsg-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 9.26~dfsg+0-0ubuntu0.18.04.18+
  2. Upgrade

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

    Fixed in 9.50~dfsg-5ubuntu4.9
  3. Upgrade

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

    Fixed in 9.55.0~dfsg1-0ubuntu5.4
  4. Upgrade

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

    Fixed in 10.0.0~dfsg1-0ubuntu1.3
  5. Upgrade

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

    Fixed in 9.26~dfsg+0-0ubuntu0.16.04.14+
  6. Upgrade

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

    Fixed in 10.01.2~dfsg1-0ubuntu2
  7. Upgrade

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

    Fixed in 10.0.0~dfsg-11+deb12u2
  8. Upgrade

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

    Fixed in 10.02.0~dfsg-1
  9. Upgrade

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

    Fixed in 10.0.0~dfsg-11+deb12u8Fixed in 10.05.1~dfsg-1+deb13u1Fixed in 10.05.1~dfsg-1+deb13u3Fixed in 10.08.0~dfsg-2

Event History

Jul 17, 2023
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeakness
Jul 20, 2023
Data Sourced
via Red Hat·02:43 PM
DescriptionSeverityAffected Software
Aug 1, 2023
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID of this buffer overflow flaw?

The vulnerability ID of this buffer overflow flaw is CVE-2023-38559.

2

Where is the buffer overflow flaw located?

The buffer overflow flaw is located in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript.

3

What is the impact of this buffer overflow flaw?

This buffer overflow flaw may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs.

4

Which software is affected by this buffer overflow flaw?

The Artifex Ghostscript software and Redhat Enterprise Linux 8.0 and 9.0 are affected by this buffer overflow flaw.

5

What is the severity of this buffer overflow flaw?

The severity of this buffer overflow flaw is medium with a score of 5.5.

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