Deleted photos reappeared on some iPhones running iOS 17.5, and Apple has finally clarified how that might occur — it isn't iCloud.
The iOS 17.5.1 update that fixed the reappearing photos bug had a brief description involving a corrupted database. Apple has clarified what exactly that meant and explained how a photo might reappear even after deleting it years prior.
According to information Apple shared with 9to5Mac, photos reappeared due to local corrupted files surviving between device upgrades thanks to backups and transfers. Apple never had access to deleted photos, nor was the corrupted data maintained as part of iCloud Photos sync.
In other words, when a photo is deleted in the library, it is truly deleted in the OS. However, because of how NAND storage works, the memory used to store the photo is marked as available rather than immediately deleted.
A bug caused some files to persist due to database corruption. Since the error occurred outside of the photos library, the deleted files never left the device unless a device transfer or backup occurred.
In iOS 17.5, these files were restored from the corrupted state and repopulated the Photos app. Apple called it a rare occurrence and didn't share how many users were affected otherwise.
If a device was wiped correctly using the "Erase All Content and Settings" function, the corrupted database would be erased, too. Apple confirmed that the single Reddit account of someone else's photos appearing in their library wasn't real.
If old photos did reappear, simply delete them again. The fix in iOS 17.5.1 fixed the problem that caused the corrupted database to persist and bring back old deleted photos, but it didn't re-delete the photos that had been restored.
9 Comments
A few of us suggested it was likely a local device glitch when this broke, but certain folk pointed fingers at Apple's iCloud security. Hopefully they will fall on their knees and apologise ;)
I think it was important that Apple explained why this happened to certain users. I know people will blow this off as a PR stunt and think it's just Apple covering its ass but to me it's a very logical explanation that most users won't comprehend because they're most likely not tech savvy. They just see news headlines and run with it not knowing or understanding why something like this actually happened. But it's great for the Apple haters out there who will just stupidly take these headlines and run with them thinking they're cool and funny.