High8.8

CVE-2025-31277: Apple Multiple Products Buffer Overflow Vulnerability

Apple Safari, iOS, watchOS, visionOS, iPadOS, macOS, and tvOS contain a buffer overflow vulnerability that could allow the processing of maliciously crafted web content which may lead to memory corruption.

Added to the CISA KEV catalog: March 20, 2026

Overview

A buffer overflow in JavaScriptCore, the JavaScript engine at the heart of WebKit, affects Apple Safari, iOS, iPadOS, macOS Sequoia, tvOS, visionOS, and watchOS before their respective 18.6 and 15.6 releases. An attacker who can direct a victim to a malicious web page can trigger memory corruption in the browser engine, gaining code execution in the WebKit process. Google Threat Intelligence Group has documented active exploitation of this flaw as part of the DarkSword iOS exploit chain, which has been used to deploy spyware against targets across multiple countries.

Vulnerability details

Affected vendor

Apple

Affected product

Multiple Products

Weakness type (CWE)

CWE-119, CWE-120

JavaScriptCore processes JavaScript supplied by any web page the browser loads. A buffer overflow (CWE-119/CWE-120) occurs when attacker-controlled script causes the engine to write beyond the bounds of an allocated memory buffer, corrupting adjacent memory. Because JavaScriptCore is a high-performance JIT-compiling engine that operates on complex, attacker-supplied data structures, a carefully crafted script can control what gets overwritten and turn the corruption into a reliable code-execution primitive. Apple addressed the flaw by improving memory handling in the affected component.


In the DarkSword exploit chain documented by Google Threat Intelligence Group, this vulnerability served as the remote code execution primitive. A victim visits an attacker-controlled website, which delivers obfuscated JavaScript through a staged loader. The loader fetches the exploit payload from the server and executes it in the victim's browser, triggering the buffer overflow in JavaScriptCore. Successful exploitation was chained with additional vulnerabilities to achieve full device compromise and deploy one of three spyware families: GHOSTBLADE, GHOSTKNIFE, or GHOSTSABER. Exploitation requires the victim to visit the malicious page in an affected Safari or WebKit-based browser.

Severity and impact

8.8

High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Attack vector

Network

Attack complexity

Low

Privileges required

None

User interaction

Required

Scope

Unchanged

Confidentiality impact

High

Integrity impact

High

Availability impact

High

Exploitation status

This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Known ransomware campaign use

Unknown

Detection and monitoring

  • Monitor for Safari or WebKit process crashes (crash logs in /Library/Logs/DiagnosticReports or ~/Library/Logs/DiagnosticReports) followed immediately by unusual child-process spawning or network connections from the browser process, which may indicate a failed or successful exploitation attempt.
  • Endpoint telemetry showing the browser process making outbound connections to unexpected hosts shortly after page load, especially where the session contains no prior user-initiated navigation to that host, is consistent with the staged payload-fetch pattern used in DarkSword delivery.

Remediation

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Federal (FCEB) remediation due date

April 3, 2026

Additional hardening

  • Update Safari to 18.6, iOS and iPadOS to 18.6, macOS Sequoia to 15.6, tvOS to 18.6, visionOS to 2.6, and watchOS to 11.6. See the vendor advisories listed in References for full details across all affected release lines.
  • On devices where an immediate update is not possible, Apple recommends enabling Lockdown Mode, which restricts WebKit's JavaScript execution surface and reduces the attack area available to browser-based exploit chains.
  • Restrict access to untrusted or uncategorized web destinations through a DNS filtering or web proxy policy, reducing the probability that users reach attacker-controlled watering-hole pages that deliver the exploit.
  • For enterprise-managed fleets, enforce a mobile device management policy that blocks use of unpatched OS versions and reports compliance state, allowing rapid identification of devices still exposed to this class of browser-based exploit.

Key dates

Published (NVD)

July 29, 2025

Added to CISA KEV

March 20, 2026

Remediation deadline

April 3, 2026

Last updated

September 21, 2026

Frequently Asked Questions

If Apple Multiple Products runs inside your authorization boundary, yes. CVE-2025-31277 appears on CISA's Known Exploited Vulnerabilities (KEV) catalog, and its remediation deadline of April 3, 2026 has already passed. For a FedRAMP-authorized service, an unpatched KEV in the boundary is a finding your assessor and sponsoring agency can already see. At this point, your options are to remediate now or formally document the mitigation and the delay.

Knox does not patch your software. Remediating Apple Multiple Products is your responsibility under the FedRAMP shared-responsibility model. What Knox provides is the pre-authorized, single-tenant boundary to remediate within, along with continuous compliance monitoring and audit-artifact coverage to help you document the fix for your next assessment. The work of applying the patch is yours; maintaining a defensible compliance posture while you do it is not something you have to manage on your own.

Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on a continuous basis. For a CVE like CVE-2025-31277, that means exposure surfaces during ongoing monitoring rather than only when an assessor flags it at review time, giving your team earlier visibility into where the boundary stands.

Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.

If CVE-2025-31277 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult agency conversation. Closing the vulnerability out now and documenting why the deadline was missed is what keeps your authorization in good standing and the agency relationship intact.

Access Continuous Compliance

We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.

Please see our Privacy Policy for details on how we will handle this information.

Submit
Submit