Skip to content
Memory corruption Write-up Advanced

Key Findings

A zero-click iMessage exploit called FORCEDENTRY was found on a Saudi activist's phone, delivered as files disguised with a .gif extension that were actually PDFs containing a JBIG2-encoded stream. It abused an integer overflow in Apple's CoreGraphics image rendering library, allowing NSO Group's Pegasus spyware to infect the latest Apple devices without any user interaction.

citizenlab.ca

Published on citizenlab.ca

In March 2021, we examined the phone of a Saudi activist who has chosen to remain anonymous, and determined that they had been hacked with NSO Group’s Pegasus spyware. During the course of the analysis we obtained an iTunes backup of the device.

The author, on citizenlab.ca

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an integer overflow in Apple's CoreGraphics image rendering library when processing a maliciously crafted PDF with a JBIG2-encoded stream.

Impact

An attacker could remotely infect the latest Apple iOS, MacOS and WatchOS devices with Pegasus spyware without any user interaction, though the report notes Apple has since released a patch.

What the attacker needed

Victim uses iMessage; no user interaction needed; unpatched Apple device

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A zero-click exploit is an attack that works without the victim tapping or opening anything, so simply receiving a message can be enough. Here, files that looked like harmless GIF images were really PDF documents crafted to break a flaw in the software that draws images on the phone. That flaw let the attacker run their own code and install spyware.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.