CVE-2024-33871: Ghostscript 10.03.1 (2024-05-02) fixed 5 CVEs including CVE-2024-33871 arbitrary code execution

Published May 27, 2024
·
Updated

An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver library, exploitable via a crafted PostScript document. This occurs because the Driver parameter for opvp (and oprp) devices can have an arbitrary name for a dynamic library; this library is then loaded.

Other sources

The "Driver" parameter for the "opvp"/"oprp" device specifies the name of a dynamic library and allows any library to be loaded, potentially leading to arbitrary code execution.

References: https://bugs.ghostscript.com/showbug.cgi?id=707754 https://ghostscript.readthedocs.io/en/gs10.03.1/News.html

Upstream patch: https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=7145885041bb52cc23964f0aa2aec1b1c82b5908

Red Hat

Affected Software

3 affected componentsFixes available
debian/ghostscript
9.53.3~dfsg-7+deb11u710.0.0~dfsg-11+deb12u410.0.0~dfsg-11+deb12u510.03.1~dfsg-2
redhat/ghostscript<10.03.1
10.03.1
Artifex GhostScript<10.03.1

Event History

Jul 3, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Sep 15, 2024
Data Sourced
via Ubuntu·12:23 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-33871?

CVE-2024-33871 is considered a critical vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2024-33871?

To fix CVE-2024-33871, upgrade to Ghostscript version 10.03.1 or later.

3

Which versions of Ghostscript are affected by CVE-2024-33871?

CVE-2024-33871 affects Ghostscript versions prior to 10.03.1.

4

What type of attack is associated with CVE-2024-33871?

CVE-2024-33871 allows for arbitrary code execution via a crafted PostScript document.

5

Are there any specific platforms affected by CVE-2024-33871?

Yes, both Red Hat and Debian versions of Ghostscript are affected if they are below the specified patched versions.

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