Apple confirmed Tuesday a security flaw with its iOS 7 that leaves email attachments vulnerable to hackers.