Millions of iPhone owners are being urged to head straight to their settings and install the latest software update. And it's not something to ignore, as not keeping things in check could mean being locked out of WhatsApp.

It's been confirmed that anyone running older versions of Apple's iOS could suddenly find themselves logged out of the popular messaging app. That will leave them completely unable to send, check, or receive messages, old or new.

The Meta-owned platform has introduced the emergency measures after its security team detected malware capable of attacking vulnerable iPhones. Even more worrying, users don't necessarily need to download anything to become infected. Simply visiting a compromised website could be enough to put a device at risk.

"Once a phone is compromised, attackers can take over any app on that device," WhatsApp warned.

The firm says it is now taking immediate action to protect users. This includes automatically logging people out if there are signs their account has been compromised and requiring them to update iOS before they can sign back in.

WhatsApp is also introducing in-app warnings for people running vulnerable versions of Apple's software.

And there's more. Over the coming weeks, anyone using an affected version of iOS will be required to install an update, even if there is no evidence their device has been targeted. New WhatsApp registrations will also require a secure and up-to-date version of iOS.

Thankfully, checking for updates is simple.

iPhone owners should head to Settings, tap General and then select Software Update. The device will check for the latest available version of iOS and prompt users to download and install it if needed.

"We strongly encourage everyone to keep their apps and devices up to date, and take advantage of WhatsApp’s additional privacy and security features," the company added.

Installing software updates as soon as they become available is always recommended. These releases often contain important security fixes designed to plug vulnerabilities that hackers could otherwise exploit.

Ignoring an update could leave your personal information and apps exposed, so it's worth checking your iPhone now rather than waiting for a warning to appear.