CVE-2023-38597 Code injection in Safari
Processing web content may lead to arbitrary code execution, requiring users to update Apple operating systems and Safari.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-38597?
CVE-2023-38597 is a high-severity code injection vulnerability in Apple Ipados, published on 26 Jul 2023. 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
The issue was addressed with improved checks. This issue is fixed in iOS 15.7.8 and iPadOS 15.7.8, iOS 16.6 and iPadOS 16.6, macOS Ventura 13.5, Safari 16.6. Processing web content may lead to arbitrary code execution.
Which versions are affected by CVE-2023-38597?
It affects 4 products.
Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari.
How do I fix CVE-2023-38597?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-38597 being exploited?
There is no known exploitation of CVE-2023-38597 in the wild and no public exploit code.
Other vulnerabilities in Apple Ipados
- CVE-2025-43300 Apple iOS, iPadOS, and macOS Out-of-Bounds Write
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write
- CVE-2025-24085 Apple Multiple Products Use-After-Free
- CVE-2025-31200 Apple Multiple Products Memory Corruption
- CVE-2025-31201 Apple Multiple Products Arbitrary Read and Write
Sources
Also known as DEBIAN-CVE-2023-38597, GHSA-xqh8-5mp7-f6qr, UBUNTU-CVE-2023-38597.