CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2025-24201

Shattering the Glass Cage: Dissecting the CVE-2025-24201 WebKit Escape

Amit Schendel
Amit Schendel
Senior Security Researcher

Feb 1, 2026·7 min read·227 visits

Executive Summary (TL;DR)

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.

The Hook: One Text to Rule Them All

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.

The Flaw: A Tale of Heap Corruption

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.

The Code: Missing the Bounds

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 Exploit: Escaping the Glass Cage

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:

  1. Delivery: The target receives a message containing a malicious PNG. The MessagesBlastDoorService spins up to parse it.
  2. Initial RCE: The ImageIO bug triggers, giving the attacker code execution inside the BlastDoor sandbox. This is a tight cage; they can't touch the file system or user data yet.
  3. The Pivot (CVE-2025-24201): The attacker leverages the initial RCE to interact with WebKit interfaces exposed to the process. They trigger the OOB Write in the encoder logic.
  4. Sandbox Escape: Using the OOB write, they corrupt a JavaScript object in memory to gain an arbitrary Read/Write primitive. They disable the specific checks that enforce the sandbox boundaries.
  5. Kernel Escalation: Now running with the privileges of the Web Content process (which is higher than BlastDoor but still restricted), they attack the kernel using a UAF in Core Media (CVE-2025-24085).

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.

The Impact: Why This Matters

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.

The Fix: Patching the Hole

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:

  1. Update Immediately: Go to Settings -> General -> Software Update. Do it now.
  2. Lockdown Mode: For high-risk individuals (journalists, politicians, researchers), enabling Lockdown Mode is highly effective. It reduces the attack surface by disabling certain complex web technologies and image parsers that are often the vector for these exploits. Reports suggest Lockdown Mode successfully blocks parts of the "Glass Cage" chain.
  3. Reboot: Frequent reboots can disrupt non-persistent stages of exploit chains, though the Glass Cage malware attempts to establish persistence quickly.

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.

Official Patches

AppleApple Security Advisory for iOS 18.3.2

Technical Appendix

CVSS Score
10.0/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Probability
0.08%
Top 76% most exploited

Affected Systems

iOSiPadOSmacOSwatchOSvisionOSSafari

Affected Versions Detail

Product
Affected Versions
Fixed Version
iOS / iPadOS
Apple
< 18.3.218.3.2
macOS Sequoia
Apple
< 15.3.215.3.2
watchOS
Apple
< 11.411.4
AttributeDetail
CWE IDCWE-787 (Out-of-Bounds Write)
Attack VectorNetwork (Zero-Click)
CVSS v3.110.0 (Critical)
EPSS Score0.08% (Highly Targeted)
Exploit StatusActive (CISA KEV)
ImpactSandbox Escape / RCE

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1211Exploitation for Defense Evasion
Defense Evasion
T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-787
Out-of-bounds Write

The software writes data past the end, or before the beginning, of the intended buffer.

Known Exploits & Detection

CISAKnown Exploited Vulnerability in the wild.

Vulnerability Timeline

Glass Cage exploit chain observed in the wild
2025-01-09
Apple releases patches (iOS 18.3.2)
2025-03-11
Added to CISA KEV
2025-03-13

References & Sources

  • [1]WebKit Bugzilla #285858
  • [2]Apple Security Update
Related Vulnerabilities
CVE-2025-43300CVE-2025-24085

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•18 minutes ago•CVE-2026-135390
7.4

CVE-2026-135390: Authentication Bypass via Cross-Role Session Resumption in Pion DTLS

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.

Alon Barad
Alon Barad
2 views•11 min read
•about 1 hour ago•CVE-2026-77132
5.3

CVE-2026-77132: Missing Authorization and Information Disclosure in TYPO3 CMS Backend Localization Wizard

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.

Alon Barad
Alon Barad
4 views•10 min read
•about 2 hours ago•CVE-2026-141554
3.1

CVE-2026-141554: SandboxShellTool Ignore Filter Bypass via Recursive Directory Readers in AG2

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.

Amit Schendel
Amit Schendel
7 views•13 min read
•about 3 hours ago•CVE-2026-135391
6.9

CVE-2026-135391: Uncontrolled Resource Consumption via Oversized Peer RSA Keys in Pion DTLS

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.

Alon Barad
Alon Barad
5 views•10 min read
•about 4 hours ago•CVE-2026-142551
8.1

CVE-2026-142551: Cross-Client Authentication Bypass via Missing Audience Validation in Vapor JWTKit

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.

Amit Schendel
Amit Schendel
6 views•11 min read
•about 5 hours ago•GHSA-QMJC-65WP-7V34
8.7

GHSA-QMJC-65WP-7V34: Software Supply-Chain Compromise and Remote Code Execution in PyPI Package magique

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.

Alon Barad
Alon Barad
6 views•10 min read