Apple explains the strange iOS 17.5 bug that made photos reappear


When iOS 17.5 rolled out on May 13, several reports appeared online from iPhone owners claiming their device brought back deleted photographs. It quickly resulted in a security scare as some people worried their smartphones might actually be holding onto file data without their knowledge. It was fortunately patched soon after with the release of iOS 17.5.1.
No one really knew what caused the error in the first place. Early theories pinned the blame on a software bug, however the patch notes for iOS 17.5.1 said it was because of “database corruption”. People felt that the explanation was too vague, so Apple decided to provide more details in response.
In a statement to 9To5Mac, the company states the old images resurfaced due to a “corrupt database entry” within the iPhone’s file system. It affected the pictures on the mobile device, but not the files synced to iCloud. So even if they were gone on iCloud, they stuck around on the smartphone, hidden from plain sight, only to reappear when iOS 17.5 was installed.
Apple goes on to state the reason why the photographs showed up on users’ new iPhones was because of the same corruption. Affected files could have jumped from one device to another if someone performed a file transfer or restored them from an iCloud Backup.
Fixing the problem
Apple didn’t say what it did to fix the problem, however researchers at cybersecurity company Synacktiv reversed-engineered iOS 17.5.1 to see exactly how it was addressed. The whole report is a dense read as it really gets into the nitty-gritty.
Essentially, though, Apple added a “migration routine” in iOS 17.5 that had a bug where it would scan an iPhone’s file system looking for photographs. If it found anything, it would add them to the photo library, resulting in deleted images reappearing.
What’s particularly strange is iOS 17.5.1 removes the routine, but not the files. Synacktiv claims Apple did not purge any of the “‘deleted’ pictures lying on the file system.” They’re still there in some dark corner of your iPhone.
Sign up for breaking news, reviews, opinion, top tech deals, and more.
We couldn’t help but wonder – why are iPhones saving pictures to the file system? Shouldn’t the image files only exist in the Photos app? No one knows, not even Synacktiv, although there may be an explanation.
A feature, not a bug
The report links to a Reddit post made on May 20 from a user who claims to know a guy who works as a “private contractor at Apple” who supposedly gave them insight into what happened. Take this information with a grain of salt. According to this mystery source, iPhones can sometimes save images or screenshots to both the Files and Photos app. The criteria on what gets saved depends “on different factors”. They didn’t say what these are.
So even if you delete an old picture from the Photos app, an exact copy could exist within Files and this is what the migration routine mentioned earlier is recovering. The Reddit user goes on to say their “friend” states Apple is not spying on people. This is not some backdoor into iCloud as “your… data is mostly secure.”
You may be wondering: why does iOS save two copies of certain images? Again, no ones knows for sure. That’ll just have to be a mystery for another day. We did reach out to Apple for further clarification, and we’ll update this post when and if we hear back.
Be sure to check out TechRadar’s list of the best iPhones for 2024.
You might also like
When iOS 17.5 rolled out on May 13, several reports appeared online from iPhone owners claiming their device brought back deleted photographs. It quickly resulted in a security scare as some people worried their smartphones might actually be holding onto file data without their knowledge. It was fortunately patched soon…
Recent Posts
- Skylight Calendar Max review: a game-changer for busy parents
- Invincible season 3 just included a sweet scene between Rex and Rae that’s not in the comics, and now I’m more worried than ever for their safety
- UK private health services firm told to pay up $2m for ransomware hit
- Twelve South’s Find My-compatible charger is on sale starting at just $49
- 8 Best Projectors According to Our Reviewers (2025)
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010