CVE-2021-1864 Use after free in iOS and iPadOS
An attacker with JavaScript execution can trigger a use-after-free to execute arbitrary code on Apple mobile and embedded operating systems.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-1864?
CVE-2021-1864 is a critical use after free vulnerability in Apple Ipados, published on 8 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A use after free issue was addressed with improved memory management. This issue is fixed in iOS 14.5 and iPadOS 14.5, watchOS 7.4, tvOS 14.5. An attacker with JavaScript execution may be able to execute arbitrary code.
Weakness: CWE-416
Which versions are affected by CVE-2021-1864?
It affects 4 products.
Products include Apple Ipados, Apple Iphone Os, Apple Tvos, Apple Watchos.
How do I fix CVE-2021-1864?
No fix has been published for CVE-2021-1864 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2021-1864 being exploited?
There is no known exploitation of CVE-2021-1864 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 GHSA-cmxj-r24c-gf8p.