The Passcode Lock implementation in Apple iOS before 6 does not properly restrict photo viewing, which allows physically proximate attackers to view arbitrary stored photos by spoofing a time value.
http://support.apple.com/kb/HT5503
http://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html