Skip to main content
CVE-2023-4042VulnerabilityPublished Updated

CVE-2023-4042: Red Hat Enterprise Linux 8 · Out-of-bounds Read

Affects Red Hat Enterprise Linux 8Source CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 5.5 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Aug 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

AI-suggested

European organizations should proactively monitor Red Hat security advisories for patches addressing CVE-2023-4042 and apply them promptly once available. Until patches are deployed, restrict local access to systems running RHEL 8 with ghostscript to trusted users only. Implement strict user privilege management to minimize the number of users who can execute or interact with ghostscript processes. Employ application whitelisting and endpoint detection to identify and block suspicious attempts to trigger ghostscript. Consider isolating document processing services in sandboxed or containerized environments to limit the impact of potential crashes. Regularly audit and monitor logs for unusual activity related to ghostscript usage. Educate users about the risks of interacting with untrusted files or prompts that could trigger the vulnerability. Finally, maintain up-to-date backups and incident response plans to quickly recover from any denial of service incidents.

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.

References

Community reviews

Loading reviews…