Skip to content
NewA calmer, faster ZeroHour
VulnerabilityKEVPoC5 · 3 reads

CVE-2025-31277

Buffer Overflow in Apple WebKit (Safari, iOS/iPadOS, macOS, WebKitGTK, WPE)

CISA: Apple Multiple Products Buffer Overflow Vulnerability

CVSS 3.1
8.8 high
EPSS
2%p77
Published
·
Added to KEV
Analyze CVE-2025-31277 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

CVE-2025-31277 is a memory-handling flaw (buffer overflow, CWE-119/CWE-120) in Apple's WebKit engine, the component that renders web content in Safari and in webviews across Apple platforms. It is triggered when a user processes maliciously crafted web content, typically by visiting an attacker-controlled page, causing memory corruption that can compromise the rendering process, with CVSS 3.1 scoring high impact to confidentiality, integrity and availability (8.8) via a network vector requiring user interaction but no privileges. Everyone running WebKit is affected: Safari users and devices on iOS/iPadOS, macOS Sequoia, tvOS, visionOS and watchOS prior to the fixed releases, plus Linux users of WebKitGTK and WPE WebKit as shipped with Red Hat Enterprise Linux (including the AUS and ELS channels). Exploitation is confirmed in the wild: CISA added the bug to its Known Exploited Vulnerabilities catalog on 2026-03-20 (ransomware linkage unknown) with a BOD 22-01 remediation deadline of 2026-04-03, and contemporaneous reporting describes 'DarkSword', an iOS exploit kit chaining multiple Apple flaws, reportedly including zero-days, in global attacks, possibly including this bug. No public proof-of-concept is known, and fixes shipped in Safari 18.6, iOS/iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6 and watchOS 11.6.

What to do: Upgrade Safari to 18.6 or later and apply the corresponding OS updates: iOS/iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6 and watchOS 11.6; on Red Hat Enterprise Linux (including AUS/ELS) install Red Hat's updated WebKitGTK/WPE WebKit packages. Organizations subject to CISA BOD 22-01 must patch or mitigate by the April 3, 2026 deadline. Until patched, restrict WebKit-based browsing and webviews on affected devices to trusted content, since exploitation requires loading maliciously crafted web content.

ProductAffected
Apple Safariall versions prior to 18.6 (fixed in 18.6)
Apple iOS / iPhone OSall versions prior to 18.6 (fixed in 18.6)
Apple iPadOSall versions prior to 18.6 (fixed in 18.6)
Apple macOS (Sequoia)macOS Sequoia versions prior to 15.6 (fixed in 15.6); other macOS branches not specified in source data
Apple tvOSall versions prior to 18.6 (fixed in 18.6)
Apple visionOSall versions prior to 2.6 (fixed in 2.6)
Apple watchOSall versions prior to 11.6 (fixed in 11.6)
WebKitGTK (project) WebKitGTK—
WPE WebKit (project) WPE WebKit—
Red Hat Enterprise Linux (incl. AUS and ELS variants)—
Estimated exposure
mass≈1 billion+ users/devices (WebKit ships on essentially every active iPhone, iPad, Mac, Apple TV, Apple Watch and Vision Pro; the RHEL WebKitGTK/WPE WebKit… — WebKit is the sole permitted web engine on iOS, iPadOS, watchOS, tvOS and visionOS and is Safari's engine on macOS, so exposure spans the entire multi-billion-device Apple installed base until patched, while the Linux exposure via…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

The issue was addressed with improved memory handling. This issue is fixed in Safari 18.6, iOS 18.6 and iPadOS 18.6, macOS Sequoia 15.6, tvOS 18.6, visionOS 2.6, watchOS 11.6. Processing maliciously crafted web content may lead to memory corruption.

KEVCISA Known Exploited Vulnerability
Affected
Apple Multiple Products
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Due date
Ransomware use
Unknown
Vendors
applewebkitgtkwpewebkitredhat
Products
safari, ipados, iphone os, macos, tvos, visionos, watchos, webkitgtk, wpe webkit, enterprise linux, enterprise linux aus, enterprise linux els
Weakness
CWE-119, CWE-120
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

In the news

7 stories