Link following in macOS - CVE-2025-31198

 

Link following in macOS - CVE-2025-31198

Published: June 21, 2025


Vulnerability identifier: #VU111712
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-31198
CWE-ID: CWE-59
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Apple Inc.
Affected software:
macOS

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to an insecure link following issue when handling .zip archives. A remote attacker can trick the victim into extracting a specially crafted archive and overwrite arbitrary files on the system, leading to remote code execution. 


How to mitigate CVE-2025-31198

Install updates from vendor's website.

Sources