CVE-2020-16304: Buffer Overflow

Published Aug 13, 2020
·
Updated

A buffer overflow vulnerability in imagerendercolorthresh() in base/gxicolor.c of Artifex Software GhostScript v9.18 to v9.50 allows a remote attacker to escalate privileges via a crafted eps file. This is fixed in v9.51.

Other sources

A buffer overflow vulnerability in imagerendercolorthresh() in base/gxicolor.c of Artifex Software GhostScript v9.50 allows a remote attacker to escalate privileges via a crafted eps file. This is fixed in v9.51.

Launchpad

Affected Software

9 affected componentsFixes available
redhat/ghostscript<9.51
9.51
Artifex Ghostscript>=9.18<=9.52
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Artifex Ghostscript=9.50
debian/ghostscript
9.53.3~dfsg-7+deb11u79.53.3~dfsg-7+deb11u1110.0.0~dfsg-11+deb12u810.05.1~dfsg-1+deb13u110.07.0~dfsg-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 9.53.3~dfsg-7+deb11u7Fixed in 9.53.3~dfsg-7+deb11u11Fixed in 10.0.0~dfsg-11+deb12u8Fixed in 10.05.1~dfsg-1+deb13u1Fixed in 10.07.0~dfsg-2
  2. Upgrade

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

    Fixed in 9.51
  3. Upgrade

    Upgrade Artifex Software GhostScript to a version that resolves this vulnerability.

    Fixed in v9.51
  4. Compensating control

    Mitigate the issue by preventing remote/untrusted attackers from supplying crafted EPS files to GhostScript (e.g., restrict upload/conversion of EPS to trusted sources only, and limit access to any service that renders EPS).

Event History

Aug 13, 2020
CVE Published
via MITRE·02:09 AM
Data Sourced
via MITRE·02:09 AM
Description
Aug 19, 2020
Data Sourced
via Red Hat·03:35 PM
DescriptionSeverityAffected Software
Feb 23, 2026
Data Sourced
via Ubuntu·08:07 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·08:08 PM
Description
Mar 25, 2026
Data Sourced
via Debian·08:30 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2020-16304?

CVE-2020-16304 is a buffer overflow vulnerability in Artifex Software GhostScript v9.50.

2

How severe is CVE-2020-16304?

CVE-2020-16304 has a severity rating of 5.5 (medium).

3

How does CVE-2020-16304 work?

CVE-2020-16304 allows a remote attacker to escalate privileges by exploiting a buffer overflow in the image_render_color_thresh() function.

4

Which software versions are affected by CVE-2020-16304?

Versions 9.50 of Artifex Software GhostScript are affected by CVE-2020-16304.

5

How can I fix CVE-2020-16304?

You can fix CVE-2020-16304 by updating Artifex Software GhostScript to version 9.51.

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