draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2021-30858: Apple iOS, iPadOS, macOS Use-After-Free Vulnerability

Exploited in attacks

Yes. CVE-2021-30858 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 3 November 2021. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 13.4%.

Exploited in real attacks
Yes. On CISA's exploited list since 3 November 2021
Used in ransomware
Not known
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
13.4% in the next 30 days, higher than 96.5% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
8.8 High (version 3.1)
Affects
Apple iOS, iPadOS, and macOS
Type of flaw
Use after free (CWE-416)
Published
24 August 2021
US federal patch deadline
17 November 2021

What it is

Apple iOS, iPadOS, and macOS WebKit contain a use-after-free vulnerability that leads to code execution when processing maliciously crafted web content. This vulnerability could impact HTML parsers that use WebKit, including but not limited to Apple Safari and non-Apple products which rely on WebKit for HTML processing.

A use after free issue was addressed with improved memory management. This issue is fixed in iOS 14.8 and iPadOS 14.8, macOS Big Sur 11.6. Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited.

Description from the CVE record.

Is CVE-2021-30858 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2021-30858 on 3 November 2021.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply updates per vendor instructions.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Apple iOS, iPadOS, and macOS runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in iOS, iPadOS, and macOS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Apple products

CVEWhat it affectsStatusEPSSPublished
CVE-2024-27834Apple Multiple ProductsNo public exploit found1.0%13 May 2024
CVE-2026-86950Apple Multiple ProductsNo public exploit found27.4%28 September 2026
CVE-2026-65400Apple macOSNo public exploit found18.1%6 August 2026
CVE-2025-31277Apple Multiple ProductsNo public exploit found1.7%29 July 2025
CVE-2025-43520Apple Multiple ProductsNo public exploit found0.44%12 December 2025
CVE-2025-43510Apple Multiple ProductsNo public exploit found0.37%12 December 2025

Sources

Machine-readable: /api/cve/CVE-2021-30858.json