Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-30860: FORCEDENTRY

Published Aug 24, 2021 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS76.0%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendors
AppleFreedesktopXpdfreader
IdentifiersCVE-2021-30860CWE-190 · Integer Overflow or Wraparound

CVE-2021-30860 is an integer overflow vulnerability in Apple CoreGraphics' JBIG2 decoder, specifically JBIG2Stream::readTextRegionSeg. Accumulating referenced symbol counts into the 32-bit numSyms variable can overflow, causing an undersized heap allocation followed by out-of-bounds writes when symbol pointers are populated. Processing a maliciously crafted PDF containing JBIG2 data can therefore lead to arbitrary code execution. The FORCEDENTRY exploit delivered such PDFs disguised as GIF attachments through iMessage, reaching IMTranscoderAgent outside the BlastDoor sandbox without user interaction. NSO Group used this vulnerability in attacks delivering Pegasus spyware in 2021.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can corrupt heap memory and execute arbitrary code in the process handling a malicious PDF on affected Apple devices. The observed exploit developed the corruption into arbitrary memory read/write capabilities. Zero-click exploitation through iMessage enabled targeted compromise without opening an attachment or clicking a link. FORCEDENTRY was used in Pegasus deployment chains supporting surveillance and theft of private communications, photos, and location information; broader device access depends on the complete exploit chain rather than this vulnerability alone.

Mitigation

If you can’t patch tonight, do this now.

If patching cannot be completed immediately, disabling iMessage reduces exposure to the documented zero-click delivery route but does not eliminate other ways of reaching the vulnerable PDF parser. Restrict processing of untrusted PDFs wherever operationally feasible. On supported modern devices, Lockdown Mode provides additional attack-surface reduction for high-risk users, but it is not a substitute for installing security updates.

Remediation

Patch, then assume compromise.

Install a currently supported Apple operating-system release containing the fix. The original fixed releases were iOS 14.8, iPadOS 14.8, macOS Big Sur 11.6, Security Update 2021-005 Catalina, and watchOS 7.6.2. Apple corrected the integer overflow through improved input validation and boundary checks in the vulnerable JBIG2 processing function. Subsequent iOS hardening restricted ImageIO formats reachable through IMTranscoderAgent in iOS 14.8.1 and moved GIF decoding entirely into BlastDoor in iOS 15.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.

View more in app →
gexThis repository implements a local privilege escalation exploit targeting iOS 14.6–14.8 on specific Apple devices (e.g., iPhone 8, iPhone SE 2016). The main exploit logic is in IOMobileFramebufferUserClient.c, which interacts with IOKit user clients 'IOMobileFramebuffer' and 'IOSurfaceRoot' to trigger vulnerabilities (CVE-2021-30807 and CVE-2021-30860). The exploit establishes kernel read/write primitives, which can be used to jailbreak the device. The repository includes supporting C source/header files for array management, kernel hooks, and IOKit interaction, as well as a Python script (alloc_averager.py) for analyzing kernel memory allocation patterns. The ent.xml file specifies the required entitlements for the exploit to access the necessary IOKit services. Overall, the repository is a functional, operational exploit for iOS kernel vulnerabilities, providing the basis for a jailbreak on affected devices.30440r · Disclosed Nov 30, 2021 · c · python · localOperationalCVE-2021-30860This repository is a sophisticated proof-of-concept exploit for the FORCEDENTRY vulnerability (CVE-2021-30860) affecting iOS 14.4 and below. The exploit targets the iMessage zero-click attack surface by generating a malicious PDF file containing a specially crafted JBIG2 stream. The Python scripts in the 'docker/libs' directory handle the construction of the exploit payload, including heap manipulation and PDF generation. The main entry point is 'docker/forcedentry', which orchestrates the exploit flow, including Frida-based instrumentation for process tracing and payload delivery. The Objective-C code in 'docker/poc-app/poc-app/clazz.m' constructs a payload chain that leverages private iOS frameworks and Objective-C runtime features to achieve code execution. The payload demonstrates its effect by launching the Calculator app on the target device, proving arbitrary code execution. The exploit requires the attacker to have network access to the device (typically via SSH and Frida port forwarding) and is designed for research and demonstration purposes. The repository includes both the exploit logic and a minimal iOS app project for payload delivery and testing. Overall, the repository demonstrates a full exploit chain from PDF generation to sandbox escape and code execution, with a focus on the iMessage attack vector and iOS platform.jeffssh · Disclosed Dec 25, 2021 · python · objective-c · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AppleIpadosoperating_system
AppleIphone Osoperating_system
AppleMac Os Xoperating_system
AppleMacosoperating_system
AppleWatchosoperating_system
FreedesktopPopplerapplication
XpdfreaderXpdfapplication
FAQ

Frequently asked questions

Is CVE-2021-30860 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2021-30860?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-30860, the earliest disclosed Nov 30, 2021.
Is there a patch for CVE-2021-30860?
Install a currently supported Apple operating-system release containing the fix. The original fixed releases were iOS 14.8, iPadOS 14.8, macOS Big Sur 11.6, Security Update 2021-005 Catalina, and watchOS 7.6.2.
What products are affected by CVE-2021-30860?
Apple Ipados, Apple Iphone Os, Apple Macos, Apple Mac Os X, Apple Watchos, and 2 more.
How severe is CVE-2021-30860?
CVE-2021-30860 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 76.0% (100th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+18 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence16Every report linking this CVE to a named adversary.
Associated malware20Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.