Skip to main content
DashboardThreatsMapFeedsAPI
reconnecting
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
VulnerabilityCVE-2023-4042cvecve-2023-4042
Published: Wed Aug 23 2023 (08/23/2023, 12:19:29 UTC)
Source: CVE Database V5
Vendor/Project: Red Hat
Product: Red Hat Enterprise Linux 8

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.

AI-Powered Analysis

AILast updated: 10/10/2025, 13:41:27 UTC

Technical Analysis

CVE-2023-4042 is a medium severity vulnerability identified in the ghostscript package as distributed with Red Hat Enterprise Linux 8. The issue is an out-of-bounds read, which occurs when the software reads memory outside the intended buffer boundaries. This flaw was originally addressed in CVE-2020-16305, but the fix was not included in the RHSA-2021:1852-06 advisory as previously claimed, leaving the vulnerability unpatched in Red Hat's distribution. Ghostscript is a widely used interpreter for PostScript and PDF files, often employed in printing and document processing workflows. The vulnerability requires local access (AV:L) and low attack complexity (AC:L), with no privileges required (PR:N), but does require user interaction (UI:R). The impact is limited to availability (A:H), meaning the vulnerability can cause application crashes or denial of service but does not compromise confidentiality or integrity. No known exploits have been reported in the wild, but the presence of this flaw could allow attackers with local access to disrupt services relying on ghostscript. The vulnerability affects only the ghostscript package as shipped with Red Hat Enterprise Linux 8, and no other versions or distributions are indicated as impacted. The CVSS vector indicates the scope remains unchanged (S:U), confirming the impact is contained to the vulnerable component without escalation to other system components.

Potential Impact

For European organizations, the primary impact of CVE-2023-4042 is potential denial of service in systems utilizing ghostscript on Red Hat Enterprise Linux 8. This could disrupt printing services, document processing pipelines, or any automated workflows relying on ghostscript, potentially affecting business continuity. While the vulnerability does not expose sensitive data or allow privilege escalation, the availability impact can be significant in environments where ghostscript is integrated into critical infrastructure or production systems. Organizations in sectors such as government, finance, healthcare, and manufacturing that rely on Red Hat Enterprise Linux 8 for their server infrastructure may experience operational disruptions if exploited. The requirement for local access and user interaction limits remote exploitation risk, but insider threats or compromised user accounts could leverage this vulnerability to cause service interruptions. The absence of known exploits reduces immediate risk but does not eliminate the need for timely remediation to prevent future attacks.

Mitigation Recommendations

European organizations should monitor Red Hat security advisories closely for the release of an official patch addressing CVE-2023-4042. Until a patch is available, mitigating controls include restricting local user access to systems running Red Hat Enterprise Linux 8 with ghostscript installed, enforcing strict user privilege management, and monitoring for unusual application crashes or service disruptions related to ghostscript. Implement application whitelisting and endpoint detection to identify potential exploitation attempts. Additionally, organizations should review and harden document processing workflows to minimize reliance on ghostscript where feasible or isolate ghostscript usage within sandboxed environments to contain potential crashes. Regularly audit installed package versions and ensure that ghostscript is updated promptly once the fix is released. Employing comprehensive logging and alerting for local user activities can help detect attempts to trigger the vulnerability.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2023-08-01T14:12:03.146Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68e90ce7dd820f2ffe5dfcbe

Added to database: 10/10/2025, 1:40:55 PM

Last enriched: 10/10/2025, 1:41:27 PM

Last updated: 10/10/2025, 5:19:47 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats