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

14 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
debian/ghostscript<=9.27~dfsg-2+deb10u5, <=9.53.3~dfsg-7+deb11u5
9.27~dfsg-2+deb10u99.53.3~dfsg-7+deb11u610.0.0~dfsg-11+deb12u310.02.1~dfsg-3
Artifex Ghostscript
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Artifex Ghostscript<10.02.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Debian Debian Linux=10.0

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 9.27~dfsg-2+deb10u9Fixed in 9.53.3~dfsg-7+deb11u6Fixed in 10.0.0~dfsg-11+deb12u3Fixed in 10.02.1~dfsg-3

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
Jan 12, 2024
Data Sourced
via Launchpad·12:22 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

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