Skip to content
Info disclosure Write-up Intermediate

Screenshot Un Edit Hack For Google Pixel

A vulnerability in Google Pixel's markup tool allowed edited screenshots to be partially restored to their unedited state because the tool failed to truncate the file when saving. An attacker with access to an edited screenshot could recover hidden content that was cropped or covered up.

David Merian Follow

Published on systemweakness.com

Security researchers Simon Aarons and David Buchanan discovered a vulnerability in Google Pixel’s default markup tool (the thing that let’s you edit a screenshot). The vulnerability let’s you un-edit the screenshot, even after you shared it with someone (for example, on Discord).

David Merian, on systemweakness.com

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 the markup tool opened the image file in a mode that did not truncate the file, so old image data remained after the new, shorter image was written.

Impact

An attacker who obtains an edited screenshot could recover hidden information from the original image, but only if the platform does not strip trailing data (e.g., Discord before January 2023).

What the attacker needed

Victim uses a vulnerable Pixel model; victim edits a screenshot with markup tool; attacker obtains the edited screenshot; platform does not strip trailing data

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.

When you edit a screenshot on a Pixel phone, the phone saves the new image but doesn't properly erase the old data. This leftover data can be used to reconstruct parts of the original screenshot, so someone could see what you tried to hide.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by David Merian

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.