$AAPL  is planning to fix a flaw that a security firm said may have left more than half a billion iPhones vulnerable to hackers. 

The bug, which also exists on iPads, was discovered by Zuk Avraham, chief executive of San Francisco-based mobile security forensics company ZecOps