Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
High

Apple IOSurfaceRoot reference count leak leading to kernel code execution

IdentifiersCVE-2024-27828CWE-788· Access of Memory Location After…

CVE-2024-27828 is a high-severity memory handling vulnerability in Apple IOSurface, specifically IOSurfaceRoot. The issue is described as residing in IOSurfaceRootUserClient::s_create_shared_event, which delegates to create_shared_event to create an IOSurfaceSharedEvent object identified by a user-supplied string name. Repeated calls with manipulated user input can trigger a reference count leak on the IOSurfaceRoot object, causing a retain without a corresponding release. The resulting reference count corruption can lead to an invalid state detected in OSObject::taggedRelease, causing a kernel panic, and Apple states the flaw may also allow an app to execute arbitrary code with kernel privileges. Apple fixed the issue through improved memory handling in iOS 17.5 and iPadOS 17.5, tvOS 17.5, visionOS 1.2, and watchOS 10.5.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

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

Successful exploitation can result in arbitrary code execution in kernel context, giving the attacker kernel privileges. The flaw can also destabilize the system and trigger a kernel panic, resulting in denial of service. Because the issue is reachable by an app running as a normal user, the impact includes full compromise of the affected device's confidentiality, integrity, and availability once exploited for code execution.

Mitigation

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

If immediate patching is not possible, reduce exposure by limiting installation and execution of untrusted or unnecessary apps, especially on devices that permit local app execution paths relevant to IOSurface/IOKit interaction. Enterprise controls such as application allowlisting, MDM-enforced update policies, and restricting developer or sideloading workflows may reduce practical exploitation opportunities. No vendor-specific workaround beyond updating is provided in the supplied content.

Remediation

Patch, then assume compromise.

Upgrade affected systems to the fixed releases provided by Apple: iOS 17.5 and iPadOS 17.5, tvOS 17.5, visionOS 1.2, and watchOS 10.5 or later. Apple states the issue was addressed through improved memory handling.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

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
AppleIpad Osoperating_system
AppleIpadosoperating_system
AppleIphone Osoperating_system
AppleTvosoperating_system
AppleVisionosoperating_system
AppleWatchosoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.