ACropalypse
aCropalypse (CVE-2023-21036) was a vulnerability in Markup, a screenshot editing tool introduced in Google Pixel phones with the release of Android Pie.[src] The vulnerability, discovered in 2023 by security researchers Simon Aarons and David Buchanan, allows an attacker to view an uncropped and unaltered version of a screenshot.[src] Following aCropalypse's discovery, a similar zero-day vulnerability was also discovered, affecting Snip & Sketch for Windows 10 and Snipping Tool for Windows 11.[src]
aCropalypse (CVE-2023-21036) was a vulnerability in Markup, a screenshot editing tool introduced in Google Pixel phones with the release of Android Pie.[src] The vulnerability, discovered in 2023 by security researchers Simon Aarons and David Buchanan, allows an attacker to view an uncropped and unaltered version of a screenshot.[src] Following aCropalypse's discovery, a similar zero-day vulnerability was also discovered, affecting Snip & Sketch for Windows 10 and Snipping Tool for Windows 11.[src] ==Background== In 2018, Android Pie—the ninth major release of Android—was released.[src] With the release of Android Pie, Google Pixel phones beginning with the Pixel 3 received a new screenshot editor known as Markup.[src] The editor allows a user to crop screenshots and alter them using on-screen elements, such as a pen and highlighter.[src] Users can then save these screenshots to Google Photos or save them locally on their device.[src] ==Discovery and usage== aCropalypse was discovered by Simon Aarons and David Buchanan, two security researchers.[src] It had previously been submitted to Google's issue tracker by Lucy Phipps on August 11, 2022.[src] Aarons reportedly discovered the bug when he noticed that the file size for a screenshot he took of white text on a black background was abnormally large.[src] A website was created where users can submit cropped or altered images to reveal the original.[src] ==Behavior== aCropalypse exploits a vulnerability within Markup.[src] Upon saving a cropped screenshot in Markup, the altered image is saved in the same location as the original image.[src] The image is created using the function; the function is called using the argument to , representing "write", when should have been passed instead, truncating the original image.[src] Although the image is not created using , but rather , the former converts an argument into a bitmask for the latter.[src] In similar functions, such as the C function fopen , using the argument will automatically truncate the file to zero length.[src] The use of was implemented in Android 10 as an undocumented change.[src] Markup uses zlib, a compression library that utilizes deflate compression, itself based on the lossless data compression algorithms LZ77 and LZ78, where each bit of data references the last, and dynamic Huffman coding, where a Huffman tree is defined at the start of the block.[src] The Huffman tree in Markup screenshots are respecified every 16 kilobytes.[src] The initial exploit for aCropalypse precomputed a list of 8 bytestrings and passed them to zlib, in order to start from a specific bit offset.[src] Additionally, the initial exploit prefixed the image stream with 32 KB of the ASCII character "X".[src] ==Mitigation== An internal patch for aCropalypse was finalized on January 24, 2023, although a fix only began rolling out in a security patch released on March 13, 2023.[src] Certain social media sites, including Twitter, automatically truncate uploaded images, although others do not.[src] One such site, Discord, mitigated the vulnerability on January 17, 2023.[src] Cloudflare addressed the issue in JPEG files by checking the end-of-image marker in libjpeg-turbo for Rust and in PNG files with lodepng.[src] ==Impact== aCropalypse affects Google Pixel phones running Android 10, released in September 2019.[src] Affected photos could include credit card numbers and other private photos.[src] By the time the vulnerability was disclosed, multiple devices, including the Pixel 3 and 3a, Pixel 4, Pixel 5, and Pixel 6 and 6a, had not received the update, thus rendering them vulnerable.[src] On March 21, software engineer Chris Blume noted that the Snipping Tool in Windows 11 results in a file size equal to a cropped version of the same image.[src] Using this, Buchanan discovered that the Snipping Tool in Windows 11, as well as Windows 10's Snip & Sketch, were susceptible to the same exploit, although not the Win32 Snipping Tool in Windows 10.[src] ==References==[src]
34 sentences · 34 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"ACropalypse." encyclopegia.org, 2026, https://encyclopegia.org/wiki/acropalypse. Accessed 27 November 2026.
Chicago
"ACropalypse." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/acropalypse.
APA
encyclopegia.org. (2026). ACropalypse. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/acropalypse
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| release date | 2023-03-13 | Wikipedia |
| release date | 2019 | Wikipedia |