Apple said the vulnerability, which is being exploited in the wild, allows malicious code to run on an affected device.