Skip to main content
Mallory
MediumExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-43520: Kernel Memory Corruption in Apple XNU VFS

Published Dec 12, 2025 · Updated 20 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days11 mentions · peak 7 in a dayToday
CVSS5.5Medium · v3.1
EPSS0.38%24th percentile
CISA KEVYesAdded Mar 20, 2026
In the wildActivePer CISA KEV
Vendor
Apple
IdentifiersCVE-2025-43520CWE-362

CVE-2025-43520 is a memory-corruption vulnerability in Apple's kernel that allows a malicious application to cause unexpected system termination or write kernel memory. It is characterized as a race condition in XNU's Virtual File System (VFS) implementation and is used by the DarkSword exploit kit to obtain arbitrary kernel read/write access and escalate privileges. A proposed vnode use-after-free mechanism is reconstructed rather than independently confirmed. Apple addressed the vulnerability through improved memory handling.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise system availability through unexpected termination and system integrity through kernel-memory modification. DarkSword uses this vulnerability as a kernel privilege-escalation stage after earlier browser exploitation and sandbox escapes. The complete chain enables extensive theft of communications, credentials, photos, location information, and application data; these collection capabilities are outcomes of the combined chain rather than this vulnerability alone.

Mitigation

If you can’t patch tonight, do this now.

Enable Apple Lockdown Mode on supported high-risk devices when immediate updating is not possible; it blocks the documented DarkSword browser exploitation chain, but is not a fix for the underlying kernel vulnerability. Rebooting terminates the nonpersistent payloads observed in the described campaigns, but does not prevent reinfection or reverse data theft. Following suspected compromise, rotate exposed credentials and revoke affected sessions.

Remediation

Patch, then assume compromise.

Install the applicable fixed release or a later supported security update: iOS 18.7.2 or 26.1; iPadOS 18.7.2 or 26.1; macOS Sequoia 15.7.2, Sonoma 14.8.2, or Tahoe 26.1; tvOS 26.1; visionOS 26.1; or watchOS 26.1. These releases address CVE-2025-43520 specifically. Install the latest available operating-system updates to address the additional vulnerabilities used by DarkSword rather than relying solely on this flaw's minimum fixed versions.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
cs-buildThe repository is a standalone C port of the DarkSword kernel exploit, attributed by its README to CVE-2025-43520, a race in cluster_write_contig/cluster_read_contig. It contains 41 listed files, including 25 C/Objective-C source and header files, a UIKit application shell, an Xcode project, a Makefile, entitlement configuration, and two GitHub Actions build workflows. No exploit framework is identified. The central primitive races uncached vectored file I/O against replacement of a physically contiguous userspace mapping. surface.c obtains contiguous memory using an IOSurface in PurpleGfxMem. free_thread.c overwrites that mapping with another memory object while phys_oob.c invokes pwritev or preadv. If the kernel continues using an earlier physical-contiguity assumption after the mapping changes, the transfer can access an unrelated neighboring physical page. The implementation uses markers and retries to identify successful out-of-bounds reads and attempts corresponding writes. poc.c coordinates initialization, large search mappings, socket spraying, and exploitation. socket.c creates local ICMPv6 datagram sockets, retains them through Mach fileports, and identifies candidate socket control blocks using the executable name and generation counters. Physical out-of-bounds corruption redirects ICMPv6 filter pointers, creating a control socket and a read/write socket. krw.c then uses setsockopt/getsockopt to implement kernel-memory access in chunks of up to 32 bytes, including 64-bit read/write wrappers. Socket reference counts are deliberately increased to retain corrupted objects. kmem.c demonstrates following socket-to-thread-to-process links and locating the current task and pmap. No separate post-exploitation payload is included. The command-line entry point is binary.c; the application starts through clearsword/main.m and invokes clearsword_run asynchronously when its button is pressed. utils.c handles offsets, device identification, and temporary I/O files. common.h defines shared state and mirrors logging to Documents/clearsword.log. The Makefile builds binaries and an IPA and optionally deploys through root SSH on localhost:2222. CI supports macOS builds and Linux cross-compilation; the Linux workflow references template_bundle.zip, which is absent from the supplied file inventory and may prevent the earlier template-expansion step from completing. This is substantive exploit code rather than a detection script or an evident fake. The rm -rf commands are confined to ordinary build cleanup and replacement of the deployment binary. Nevertheless, exploit reliability and exact affected versions cannot be established from static inspection: poc.c, socket.c, and the Xcode project are partially truncated; several offsets are marked uncertain; A18-specific paths are disabled; and offset branches are not proof that every accepted release remains vulnerable. ICMPv6 sockets are used for local kernel manipulation, with no remote target, packet-based delivery, exfiltration destination, or reverse-shell endpoint shown. Repository URL, git reference, and archive size were not supplied; empty strings and zero represent unavailable repository metadata.df2029 · Disclosed Oct 30, 2026 · c · objective-c · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AppleIpadosoperating_system
AppleIphone Osoperating_system
AppleMacosoperating_system
AppleTvosoperating_system
AppleVisionosoperating_system
AppleWatchosoperating_system
FAQ

Frequently asked questions

Is CVE-2025-43520 exploited in the wild?
Yes. As of Nov 8, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 20, 2026.
Is there a public exploit for CVE-2025-43520?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2025-43520, the earliest disclosed Oct 30, 2026.
Is there a patch for CVE-2025-43520?
Install the applicable fixed release or a later supported security update: iOS 18.7.2 or 26.1; iPadOS 18.7.2 or 26.1; macOS Sequoia 15.7.2, Sonoma 14.8.2, or Tahoe 26.1; tvOS 26.1; visionOS 26.1; or watchOS 26.1. These releases address CVE-2025-43520 specifically.
What products are affected by CVE-2025-43520?
Apple Ipados, Apple Iphone Os, Apple Macos, Apple Tvos, Apple Visionos, and 1 more.
How severe is CVE-2025-43520?
CVE-2025-43520 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.38% (24th percentile) as of Nov 8, 2026.
Activity feed

Recent activity

57 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
punto informaticoNews · Nov 7, 2026Furto di dati con exploit zero-click per Android e iOSAn iOS vulnerability included in an APT29-attributed exploit chain for extensive personal-data theft. The chain collects communications, credentials, contacts, call history, cookies, location, and photos; the article does not specify this vulnerability's individual technical mechanism.Read more ↗cyberveilleNews · Nov 6, 2026APT29 : campagne de watering hole ciblant iOS et Android via des exploits n-day | CyberVeilleDescribed as providing privilege escalation and kernel read/write capabilities in the DarkSword iOS 18.5 chain. This chain enables broad collection of sensitive device data in the campaign attributed to APT29. The vulnerability is described as already patched.Read more ↗breachnewsNews · Nov 5, 2026APT29 Used Hijacked Plerdy Script to Exploit PhonesA patched vulnerability used in the campaign's DarkSword-linked iPhone exploit chain. The chain targeted iOS 18.5 and enabled broad device access and data theft. The article does not isolate this vulnerability's technical role.Read more ↗help net securityNews · Nov 4, 2026Russian hackers target iOS and Android users with n-day exploits - Help Net SecurityA patched vulnerability used in the DarkSword exploit chain against iOS 18.5 in the campaign attributed to APT29. The chain enabled extensive extraction of communications, credentials and personal information without installing a persistent payload. The individual flaw's mechanism and role within the chain are not specified.Read more ↗
+26 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence29Every report linking this CVE to a named adversary.
Associated malware45Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity25Community discussion across Reddit, Mastodon, and other social sources.