cve.bz

CVE-2023-46751 artifex ghostscript: Use After Free

7.5 highEPSS 2.0%

High (7.5) in artifex ghostscript. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
An issue was discovered in the function gdev_prn_open_printer_seekable() in Artifex Ghostscript through 10.02.0 allows remote attackers to crash the application via a dangling pointer.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.0% (unchanged from 2.0% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-46751 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-46751?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-46751?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-46751 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
artifex:ghostscriptthrough 10.02.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12ghostscript10.0.0~dfsg-11+deb12u3DEBIAN-CVE-2023-46751 DSA-5578-1
Debian13, 14ghostscript10.02.1~dfsg-1DEBIAN-CVE-2023-46751
Ubuntu22.04:LTSghostscript9.55.0~dfsg1-0ubuntu5.6UBUNTU-CVE-2023-46751 USN-6551-1
Ubuntu24.04:LTSghostscript10.02.1~dfsg1-0ubuntu1UBUNTU-CVE-2023-46751
Red Hatenterprise_linux:8::appstreamlibgs, ghostscript, ghostscript-x11 and 5 more0:9.27-16.el8_10RHSA-2025:4362
Red Hatenterprise_linux:8::crblibgs-devel, ghostscript-doc, libgs-debuginfo and 7 more0:9.27-16.el8_10RHSA-2025:4362
Red Hatenterprise_linux:9::appstreamlibgs, ghostscript, ghostscript-doc and 9 more0:9.54.0-18.el9_6RHSA-2025:7422
Red Hatenterprise_linux:9::crbghostscript, libgs-devel, libgs-debuginfo and 6 more0:9.54.0-18.el9_6RHSA-2025:7422
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 moreghostscript9.52-150000.177.1SUSE-SU-2023:4920-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5ghostscript9.52-23.63.1SUSE-SU-2023:4917-1
openSUSELeap 15.4, Leap 15.5ghostscript9.52-150000.177.1SUSE-SU-2023:4920-1
openSUSETumbleweedghostscript9.56.1-8.1openSUSE-SU-2024:13548-1
AlmaLinux8libgs, ghostscript, libgs-devel and 5 more9.27-16.el8_10ALSA-2025:4362
AlmaLinux9libgs, ghostscript, libgs-devel and 5 more9.54.0-18.el9_6ALSA-2025:7422
Rocky Linux8ghostscript0:9.27-16.el8_10RLSA-2025:4362
Alpaquita23ghostscript10.01.2-r1BELL-CVE-2023-46751
Alpaquitastreamghostscript10.02.1-r0BELL-CVE-2023-46751

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The discovered vulnerability in the function gdev_prn_open_printer_seekable() within Artifex Ghostscript, poses a moderate severity threat due to its potential to cause a denial-of-service (DoS) condition. Exploiting this flaw involves manipulating a dangling pointer, which can lead to crashing the application. While the impact is limited to crashing the application, the exploit requires remote access, which elevates the risk compared to local-only vulnerabilities.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ghostscript-0:9.27-16.el8_10Fixed 2025-04-30RHSA-2025:4362
Red Hat Enterprise Linux 9ghostscript-0:9.54.0-18.el9_6Fixed 2025-05-13RHSA-2025:7422
Red Hat Enterprise Linux 6ghostscriptOut of support scope
Red Hat Enterprise Linux 7ghostscriptOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-46751.

References

Check your stackJSON