# CVE-2024-23222: Apple Multiple Products WebKit Type Confusion

> Attackers can execute arbitrary code by tricking users into visiting malicious web content in Safari or WebKit-based apps on Apple devices.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Yes, since 23 Jan 2024 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 23 Jan 2024
- **Updated:** 2 Apr 2026
- **Also known as:** DEBIAN-CVE-2024-23222, GHSA-93px-8x98-j7p2, SUSE-SU-2024:0301-1, UBUNTU-CVE-2024-23222

## What is CVE-2024-23222?

CVE-2024-23222 is a high-severity memory corruption vulnerability in Apple Ipados, published on 23 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

A type confusion issue was addressed with improved checks. This issue is fixed in Safari 17.3, iOS 15.8.7 and iPadOS 15.8.7, iOS 16.7.5 and iPadOS 16.7.5, iOS 17.3 and iPadOS 17.3, macOS Monterey 12.7.3, macOS Sonoma 14.3, macOS Ventura 13.6.4, tvOS 17.3, visionOS 1.0.2. Processing maliciously crafted web content may lead to arbitrary code execution. This fix associated with the Coruna exploit was shipped in iOS 17.3 on January 22, 2024. This update brings that fix to devices that cannot update to the latest iOS version.

Weakness: CWE-843 (Access of Resource Using Incompatible Type)

## Which versions are affected by CVE-2024-23222?

It affects 6 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `webkit2gtk3` | SUSE:Enterprise Storage 7.1 | All versions | 2.42.4-150200.100.1 |
| `webkit2gtk3` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.42.4-150200.100.1 |
| `webkit2gtk3` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.42.4-150200.100.1 |
| `webkit2gtk3` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 2.42.4-150200.100.1 |
| `webkit2gtk3` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 2.42.4-150200.100.1 |
| `webkit2gtk3` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 2.42.4-150200.100.1 |
| `webkit2gtk3` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 2.42.4-150200.100.1 |

Products: Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari, Apple Tvos, Apple Visionos.

## How do I fix CVE-2024-23222?

Apply the vendor's patch. US federal agencies must fix it by 13 Feb 2024.

## Is CVE-2024-23222 being exploited?

Yes. Attackers have exploited CVE-2024-23222 in the wild since at least 23 Jan 2024.

Public exploit code:

- Adaptation of Cassowary CVE-2024-23222 for Linux x86_64 (github_poc): https://github.com/FuzzySecurity/Cassowary-CVE-2024-23222-x86_64
- Comprehensive deobfuscated research of the Coruna iOS exploit kit targeting CVE-2024-23222. Analysis of WebKit Type Confusion, PAC Bypass, and Sandbox Escape (github_poc): https://github.com/Rohitberiwala/CVE-2024-23222-Coruna-Exploit-Kit-Deobfuscated
- JSC DFG TOCTOU stale JSCell - deterministic UAF PoCs + race harness (github_poc): https://github.com/jamezx32/CVE-2024-23222

## Other vulnerabilities in Apple Ipados

- [CVE-2025-43300](https://insights.sbomify.com/CVE-2025-43300/): Apple iOS, iPadOS, and macOS Out-of-Bounds Write (critical 10.0, exploited in the wild)
- [CVE-2025-24201](https://insights.sbomify.com/CVE-2025-24201/): Apple Multiple Products WebKit Out-of-Bounds Write (critical 10.0, exploited in the wild)
- [CVE-2025-24085](https://insights.sbomify.com/CVE-2025-24085/): Apple Multiple Products Use-After-Free (critical 10.0, exploited in the wild)
- [CVE-2025-31200](https://insights.sbomify.com/CVE-2025-31200/): Apple Multiple Products Memory Corruption (critical 9.8, exploited in the wild)
- [CVE-2025-31201](https://insights.sbomify.com/CVE-2025-31201/): Apple Multiple Products Arbitrary Read and Write (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-23222 and fix it if it is affected.

What it is: CVE-2024-23222 is a high-severity memory corruption vulnerability in Apple Ipados, published on 23 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: Yes. Attackers have exploited CVE-2024-23222 in the wild since at least 23 Jan 2024.

Affected product: Apple Ipados. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-23222/ (Markdown: https://insights.sbomify.com/CVE-2024-23222/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-23222
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-23222
- OSV: https://osv.dev/vulnerability/CVE-2024-23222

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-23222/
Summaries are generated and may contain mistakes; the official description above is the record.
