CVE-2025-31273

8.8 HIGH

📋 TL;DR

This memory corruption vulnerability in Apple's WebKit browser engine allows attackers to execute arbitrary code by tricking users into visiting malicious websites. It affects Safari and all Apple operating systems that use WebKit for web content rendering. Users of unpatched Apple devices are vulnerable when browsing the web.

💻 Affected Systems

Products:
  • Safari
  • iOS
  • iPadOS
  • macOS
  • tvOS
  • watchOS
  • visionOS
Versions: Versions prior to Safari 18.6, macOS Sequoia 15.6, iOS 18.6, iPadOS 18.6, tvOS 18.6, watchOS 11.6, visionOS 2.6
Operating Systems: macOS, iOS, iPadOS, tvOS, watchOS, visionOS
Default Config Vulnerable: ⚠️ Yes
Notes: All default configurations are vulnerable. Affects all Apple devices using WebKit for web rendering.

📦 What is this software?

Macos by Apple

macOS is Apple's desktop and laptop operating system powering Mac computers used by millions of professionals, developers, creative professionals, and enterprise users worldwide. Built on a Unix foundation with the Darwin kernel and modern Cocoa frameworks, macOS delivers a seamless ecosystem integr...

Learn more about Macos →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to complete system compromise, data theft, and persistent malware installation.

🟠

Likely Case

Browser compromise allowing session hijacking, credential theft, and installation of malicious extensions.

🟢

If Mitigated

Limited impact with proper sandboxing and memory protection features, potentially only browser crash.

🌐 Internet-Facing: HIGH - Exploitable via malicious websites without user interaction beyond visiting the site.
🏢 Internal Only: MEDIUM - Requires user to visit malicious internal pages or compromised internal sites.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: MEDIUM

Exploitation requires memory corruption techniques but no authentication. No public exploit code known at this time.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Safari 18.6, macOS Sequoia 15.6, iOS 18.6, iPadOS 18.6, tvOS 18.6, watchOS 11.6, visionOS 2.6

Vendor Advisory: https://support.apple.com/en-us/124147

Restart Required: Yes

Instructions:

1. Open System Settings/Preferences 2. Go to Software Update 3. Install all available updates 4. Restart device when prompted

🔧 Temporary Workarounds

Disable JavaScript

all

Prevents execution of malicious JavaScript that could trigger the vulnerability

Safari: Settings > Security > Disable JavaScript

Use Alternative Browser

all

Switch to non-WebKit browsers like Chrome or Firefox

🧯 If You Can't Patch

  • Implement web filtering to block known malicious sites
  • Use application control to restrict browser execution in sensitive environments

🔍 How to Verify

Check if Vulnerable:

Check Safari version: Safari > About Safari. Check OS version: Apple menu > About This Mac (macOS) or Settings > General > About (iOS/iPadOS)

Check Version:

macOS: sw_vers -productVersion, iOS: Settings > General > About > Version

Verify Fix Applied:

Verify version numbers match or exceed patched versions listed in fix_official.patch_version

📡 Detection & Monitoring

Log Indicators:

  • Safari/WebKit crash logs with memory corruption errors
  • Unexpected browser process termination

Network Indicators:

  • Connections to suspicious domains followed by browser crashes
  • Unusual outbound traffic from browser processes

SIEM Query:

source="*safari*" AND (event="crash" OR event="memory_corruption")

🔗 References

📤 Share & Export