CVE-2023-4042: artifex ghostscript Out-of-bounds Read
CVSS: 5.5v3.1MediumModified
Published 23-08-2023Last modified 21-11-2025
Vulnerability summary
CVE-2023-4042 is a medium (CVSS 5.5) Out-of-bounds Read vulnerability in artifex ghostscript. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 25.3% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)EPSS score
0.34%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 23-08-2023PublishedVulnerability first disclosed.
- 21-11-2025Last modifiedVulnerability information updated.
Description
A flaw was found in ghostscript. The fix for CVE-2020-16305 in ghostscript was not included in RHSA-2021:1852-06 advisory as it was claimed to be. This issue only affects the ghostscript package as shipped with Red Hat Enterprise Linux 8.
CVSS metrics
2 scores · 2 sources · 1 versionMedium 5.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HSourcesAll 2 agree
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
0.00 pp
From 0.34% on 18-09-2026
18-09-202618-10-2026
EPSS score0.34%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Redhat8 products
- codeready_linux_builder8.0
- codeready_linux_builder_for_arm648.0_aarch64
- codeready_linux_builder_for_ibm_z_systems8.0_s390x
- codeready_linux_builder_for_power_little_endian8.0_ppc64le
- enterprise_linux8.0
Artifex1 product
- ghostscript< 9.51
2 vendors · 9 products