CVE-2020-3840 Memory corruption in iOS
Loading a maliciously crafted racoon configuration file may lead to arbitrary code execution on Apple operating systems.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-3840?
CVE-2020-3840 is a high-severity memory corruption vulnerability in Apple Ipados, published on 27 Feb 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
An off by one issue existed in the handling of racoon configuration files. This issue was addressed through improved bounds checking. This issue is fixed in iOS 13.3.1 and iPadOS 13.3.1, macOS Catalina 10.15.3, tvOS 13.3.1. Loading a maliciously crafted racoon configuration file may lead to arbitrary code execution.
Which versions are affected by CVE-2020-3840?
It affects 4 products.
Products include Apple Ipados, Apple Iphone Os, Apple Mac Os X, Apple Tvos.
How do I fix CVE-2020-3840?
No fix has been published for CVE-2020-3840 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-3840 being exploited?
There is no known exploitation of CVE-2020-3840 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-pjgc-v69x-rhfq.