The online hack which led to the posting of hundreds of explicit photographs of celebrities online could have been a password attack.
Hollywood stars including Jennifer Lawrence and model Kate Upton saw intimate photos posted on forum site 4chan on Sunday.
Initial reports concluded Apple's iCloud service had been compromised to access the images.
But a piece of computer code that repeatedly guesses passwords has been found online.
The script was posted to software site GitHub which apparently uses the top 500 most common passwords approved by Apple to try and gain access to user accounts.
If successful, it would give the hacker full access to the iCloud account, and therefore photos.
Apple have now apparently "patched" or fixed the bug. A posted update later said: "The end of the fun. Apple has just patched."
The technology giant is yet to make any comment on the incident.
Emma Watson has hit out at a popular "lack of empathy" towards the celebrity victims of a photo hacking scandal.
Celebrities including Hollywood actress Jennifer Lawrence have threatened to take legal action after naked snaps of them are hacked.