Apple late Tuesday patched the first-ever vulnerabilities in its popular iPhone, including a critical flaw that could allow attackers to steal sensitive information, nearly one month after the years hottest gadget went on sale.