Feb 1, 2026·7 min read·227 visits
A critical OOB Write in WebKit allows for a sandbox escape. It is the second stage of the 'Glass Cage' zero-click chain targeting iOS/macOS. Exploitation requires no user interaction (zero-click) via iMessage. Apple has patched this in iOS 18.3.2 and related updates.
CVE-2025-24201 is a critical Out-of-Bounds Write vulnerability within Apple's WebKit engine that serves as the linchpin for the 'Glass Cage' zero-click exploit chain. By processing maliciously crafted web content, an attacker can trigger memory corruption to escape the Web Content sandbox. This vulnerability was actively exploited in the wild to target high-risk individuals, allowing attackers to pivot from an initial entry in ImageIO to full kernel compromise via a subsequent Core Media exploit.
In the world of offensive security, the "Zero-Click" exploit is the holy grail. It’s the capability that keeps CISO's awake at night and fetches seven figures on the gray market. CVE-2025-24201 isn't just a browser bug; it is the silent killer inside the "Glass Cage" chain. This vulnerability resides in WebKit, the engine that powers Safari, but more importantly, it powers the rendering of web content inside iMessage. That means an attacker doesn't need you to visit a shady URL; they just need to send you a specifically crafted message.
Technically, this is an Out-of-Bounds (OOB) Write. In the context of a browser engine, an OOB write is like being given a key to a specific hotel room but figuring out how to smash through the drywall into the adjoining suite. That adjoining suite happens to contain the control structures for the Web Content process.
The real beauty—and horror—of this bug is its role in the chain. It’s the bridge. The attackers first gained execution via ImageIO (CVE-2025-43300), but they were trapped in the tight confines of the BlastDoor sandbox. CVE-2025-24201 is the explosive charge they used to blow the door off that sandbox, pivoting from a restricted process to a position where they could attack the kernel directly.
Under the hood, this vulnerability stems from a failure in memory management logic, specifically pointing towards the ATXEncoder component or similar heap-allocated structures within WebCore. The issue is classified as CWE-787: Out-of-bounds Write. In C++, when you allocate a buffer on the heap, you tell the allocator exactly how much space you need. If you calculate that size based on user input (like the dimensions of an image or the length of a string) and fail to validate it strictly, you end up with a mismatch.
The developers implemented checks, but they weren't enough. The vulnerability is described as a "supplementary fix" for an issue that was supposedly addressed in iOS 17.2. This implies that the attackers found a variant—a way to bypass the original patch. They found a code path where the boundary checks could be tricked, allowing the render engine to write data past the end of the allocated buffer.
Once you have an OOB write, you have a "write primitive." In the WebKit heap, this is devastating. By carefully grooming the heap (Heap Feng Shui), an attacker can arrange objects so that the victim buffer is adjacent to a critical object—like a function pointer or a length property of an array. Overwriting the length of an adjacent Javascript array, for example, gives you read/write access to the entire address space of the process. Game over for the sandbox.
While the specific source code diff is locked behind Apple's restricted Bugzilla (ID 285858), we can reconstruct the anatomy of this failure based on the patch description: "Improved checks." In WebKit, an OOB write often looks like a disconnect between the allocation size and the loop that writes data.
Imagine a simplified C++ scenario in the encoder logic:
// VULNERABLE LOGIC PATTERN
void parseWebData(uint8_t* data, size_t len) {
// Developer calculates size needed for output
size_t bufferSize = calculateSize(data);
// Allocation seems safe...
uint8_t* buffer = (uint8_t*)fastMalloc(bufferSize);
// THE BUG: The writing loop uses 'len' from input,
// not the calculated 'bufferSize', and 'calculateSize'
// had an integer overflow or logic flaw.
for (size_t i = 0; i < len; i++) {
buffer[i] = transform(data[i]); // <--- WRITES OOB HERE
}
}The fix involves validating that the data being written actually fits into the allocated slot. Apple's patch essentially adds a "bounds check" before the write operation or hardens the size calculation to prevent the mismatch.
// PATCHED LOGIC
void parseWebData(uint8_t* data, size_t len) {
Checked<size_t> bufferSize = calculateSize(data);
if (bufferSize.hasOverflowed()) return; // Bail out
// Hardened vector with bounds checking
Vector<uint8_t> buffer;
buffer.reserveCapacity(bufferSize.value());
for (size_t i = 0; i < len; i++) {
// The Vector class now prevents OOB writes
// or explicitly check (i < bufferSize)
buffer.append(transform(data[i]));
}
}By enforcing strict bounds checking, the engine ensures that no matter what malicious garbage the attacker sends, the write pointer cannot drift into adjacent memory.
The "Glass Cage" exploit chain is a masterclass in modern offensive engineering. It doesn't rely on a single lucky bug; it chains three distinct vulnerabilities to achieve total domination. Here is how an attacker weaponizes CVE-2025-24201:
MessagesBlastDoorService spins up to parse it.The sophistication is evident in the post-exploitation behavior. The malware modifies wifid proxy settings to route traffic to 172.16.101.176 and manipulates IORegistry keys like IOAccessoryPowerSourceItemBrickLimit to potentially brick the device if detection is suspected. This is high-stakes warfare.
A successful exploit of CVE-2025-24201 effectively neutralizes the primary security architecture of iOS: the Sandbox. The sandbox is designed to contain damage; if a renderer gets popped, the attacker should still be trapped. This vulnerability breaks that promise.
For the targeted victims, the impact was catastrophic. The attackers didn't just want to read emails; they wanted persistence and total control. They accessed CloudKeychainProxy to steal encrypted credentials. They injected rogue daemons via launchd to survive reboots. Because this is zero-click, the victim has no indication that their device has been turned into a pocket-sized spy.
The CVSS score is a flat 10.0 because the scope is changed (Sandbox Escape), user interaction is None, and the impact to Confidentiality, Integrity, and Availability is High. It is the definition of a "burn it down" bug.
Apple has released patches across the entire ecosystem. If you are running anything older than iOS 18.3.2 or macOS 15.3.2, you are vulnerable. The fix involves improved memory safety checks in WebKit to prevent the OOB write.
Remediation Steps:
This vulnerability highlights the fragility of C/C++ memory management in complex parsers. Until WebKit adopts more memory-safe languages for its parsers, we will continue to see the cat-and-mouse game of OOB writes and heap hardening.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H| Product | Affected Versions | Fixed Version |
|---|---|---|
iOS / iPadOS Apple | < 18.3.2 | 18.3.2 |
macOS Sequoia Apple | < 15.3.2 | 15.3.2 |
watchOS Apple | < 11.4 | 11.4 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-787 (Out-of-Bounds Write) |
| Attack Vector | Network (Zero-Click) |
| CVSS v3.1 | 10.0 (Critical) |
| EPSS Score | 0.08% (Highly Targeted) |
| Exploit Status | Active (CISA KEV) |
| Impact | Sandbox Escape / RCE |
The software writes data past the end, or before the beginning, of the intended buffer.
CVE-2026-135390 is an authentication bypass vulnerability in the Pion DTLS Go library caused by improper validation of cached DTLS 1.2 sessions. When an application shares a single SessionStore across both outbound client connections and inbound server listeners, a remote server previously contacted by the application's client can reuse the negotiated session identifier and master secret to authenticate against the application's server listener via abbreviated session resumption, bypassing mutual TLS and Pre-Shared Key checks.
CVE-2026-77132 is an authorization bypass and information disclosure vulnerability in the TYPO3 CMS backend localization wizard (ext:backend). Multiple backend AJAX endpoints failed to validate page-level and record-level access permissions before processing requests. As a result, authenticated backend users with restricted privileges can query these routes directly to enumerate sensitive metadata, record titles, unique identifiers, and layout structures across unauthorized sections of the page tree.
CVE-2026-141554 (GHSA-xhqj-2fcc-8vf7) is an incorrect authorization vulnerability (CWE-863) in AG2 (formerly AutoGen), an open-source AgentOS framework for multi-agent AI systems. In versions from 0.13.3 prior to 1.3.4, the SandboxShellTool component configured with readonly=True and an ignore pattern list fails to prevent recursive search and comparison utilities (grep, egrep, fgrep, and diff) from accessing and disclosing restricted files. Because the command-line security filter only inspects explicit path tokens passed as arguments rather than files discovered autonomously during directory traversal, an AI agent processing untrusted input or prompt injections can be induced to read and expose protected files such as .env configurations, cryptographic keys, and credentials.
Pion DTLS versions from 2.0.0 prior to 3.1.13 and 4.0.0-rc.6 fail to enforce an upper bound on the modulus bit length of peer RSA public keys during handshake signature and certificate chain verification. Because RSA verification performs modular exponentiation whose computational complexity grows superlinearly with modulus size, a remote unauthenticated peer can transmit a synthetic certificate containing an arbitrary multi-thousand-bit RSA modulus and an invalid signature to trigger CPU exhaustion.
Vapor JWTKit versions 4.0.0 prior to 5.8.0 fail to validate the audience (aud) claim in built-in vendor identity token payload types for Apple, Google, and Microsoft. This improper authentication flaw allows an attacker to obtain a legitimately signed ID token for a third-party client application and replay it against a relying party application using JWTKit, resulting in cross-client authentication bypass and account takeover.
GHSA-QMJC-65WP-7V34 documents a software supply-chain compromise targeting the Python Package Index (PyPI) package magique. Threat actors utilized stolen maintainer credentials to publish unauthorized phantom releases (versions 0.6.8 and 0.6.9) directly to PyPI on June 8, 2026. These distributions contain a malicious .pth path configuration file that automatically triggers an embedded JavaScript payload via the Bun runtime upon Python interpreter startup, resulting in credential theft, process memory scraping, and worm-like self-propagation.