Cyber Posture

CVE-2025-27837

Critical

Published: 25 March 2025

Published
25 March 2025
Modified
01 April 2025
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0018 38.7th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.

Security Summary

CVE-2025-27837 is a path traversal vulnerability (CWE-22) discovered in Artifex Ghostscript versions before 10.05.0. The flaw resides in the base/gp_mswin.c and base/winrtsup.cpp components, where a truncated path containing invalid UTF-8 characters enables access to arbitrary files.

Attackers can exploit this vulnerability remotely over the network (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N), and without changing scope (S:U). Achieving a CVSS v3.1 base score of 9.8, exploitation results in high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H), allowing unauthorized access to arbitrary files on affected Windows systems processing malicious inputs.

The Ghostscript bug tracker at https://bugs.ghostscript.com/show_bug.cgi?id=708238 documents the issue, with mitigation achieved by upgrading to Ghostscript 10.05.0 or later.

Details

CWE(s)
CWE-22

Affected Products

artifex
ghostscript
≤ 10.05.0

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
Why these techniques?

Path traversal vulnerability enables remote arbitrary file access on systems processing untrusted inputs, directly facilitating exploitation of public-facing applications (T1190) and data collection from the local file system (T1005).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References