CVE-2023-40385
Apple Safari vulnerability analysis and mitigation

Overview

CVE-2023-40385 is a security vulnerability affecting Apple's WebKit component that was discovered and patched in late 2023. The vulnerability affects multiple Apple operating systems including macOS Sonoma 14, Safari 17, iOS 17, and iPadOS 17. When exploited, this vulnerability allows a remote attacker to view leaked DNS queries when Private Relay is turned on (Apple Support).

Technical details

The vulnerability exists in WebKit, Apple's browser engine. The issue was identified in WebKit Bugzilla as bug #257303. Apple addressed this security flaw by removing the vulnerable code. The vulnerability has been assigned a CVSS v3.1 Base Score of 6.5 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N (NVD).

Impact

The primary impact of this vulnerability is the potential exposure of private browsing data. When exploited, an attacker may be able to view DNS queries that should be protected by Apple's Private Relay feature, potentially compromising user privacy and revealing browsing activity (Apple Support).

Mitigation and workarounds

Apple has released fixes for this vulnerability in macOS Sonoma 14, Safari 17, iOS 17, and iPadOS 17. Users are advised to update their systems to these versions or later to protect against this vulnerability. The fix involves the removal of the vulnerable code that allowed DNS query leakage (Apple Support).

Additional resources


SourceThis report was generated using AI

Related Apple Safari vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-46298MEDIUM6.5
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesJan 09, 2026
CVE-2025-46282MEDIUM5.5
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesDec 17, 2025
CVE-2025-46299MEDIUM4.3
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesJan 09, 2026
CVE-2025-43541MEDIUM4.3
  • Apple SafariApple Safari
  • webkit2gtk3-devel
NoYesDec 17, 2025
CVE-2025-43536MEDIUM4.3
  • Apple SafariApple Safari
  • webkit2gtk3-soup2-minibrowser
NoYesDec 17, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management