Research Lab

WhatsApp hacks: Pegasus, the NSO lawsuit and how to secure your account

In 2019 spyware maker NSO Group exploited a WhatsApp calling flaw to target about 1,400 users, and WhatsApp won its US lawsuit over it. For most people, though, the real risk is simpler: a scammer persuading you to share your six-digit verification code.

Updated November 13, 2026 5 min read 12 sources

What this page covers This page explains documented WhatsApp incidents and how to protect your own account. It doesn't explain how to get into anyone else's account.

The 2019 Pegasus attack

In May 2019 WhatsApp fixed a serious flaw, CVE-2019-3568. According to Facebook's security advisory, it was a buffer overflow in WhatsApp's voice-over-IP calling code that could let an attacker run code on a phone by sending specially crafted network packets to its number. The target didn't need to answer the call.

WhatsApp later said the flaw had been used to try to install NSO Group's Pegasus spyware on the phones of about 1,400 users. In October 2019 WhatsApp and its parent company sued NSO Group and its parent in federal court in California. In November 2021 the US Commerce Department added NSO Group to its Entity List, restricting US exports to it, saying its spyware had been used to target government officials, journalists, activists and others.

How WhatsApp v. NSO ended

WhatsApp v. NSO Group: key rulings
DateRuling
December 2024Judge Phyllis Hamilton of the Northern District of California ruled NSO liable for hacking WhatsApp users
May 2025A jury awarded WhatsApp about $444,700 in compensatory damages and about $167 million in punitive damages
October 17, 2025The judge issued a permanent injunction barring NSO from targeting WhatsApp and cut punitive damages to about $4 million

In her October 2025 ruling, Judge Hamilton found the $167 million punitive award excessive and reduced it to a little over $4 million, about nine times the compensatory damages. The permanent injunction bars NSO from breaking into or trying to break into WhatsApp's systems. Reports said it covers WhatsApp only, not Meta's other services, and does not extend to NSO's customers. NSO welcomed the cut in damages but objected to other parts of the ruling and said it would review its legal options. WhatsApp's head, Will Cathcart, said the ruling bans NSO from targeting WhatsApp and its users again.

What Pegasus means for you Attacks like this are expensive and aimed at a small number of people, such as journalists, activists and officials. If you might be such a target, keep your phone updated and consider protections such as Apple's Lockdown Mode and WhatsApp's own high-risk settings.

The scams most WhatsApp users actually face

  • Verification-code takeover. Your account is tied to your phone number. When someone tries to register it on a new phone, WhatsApp sends you a six-digit code. Scammers, often writing from a friend's already-hijacked account, ask you to pass on a code they say was sent to you by mistake. If you share it, they can register your account on their phone and use it to target your contacts. WhatsApp says never to share the code, even with friends or family.
  • Impersonation. Someone poses as a friend, family member, celebrity or business, often from a new number, and asks for money or personal details. WhatsApp suggests confirming identity with a voice or video call.
  • Job, investment and romance scams. Fake recruiters ask for fees or personal data; fake investments promise high, low-risk returns, often in crypto; romance scammers build a relationship and then ask for money.
  • Unofficial WhatsApp apps from outside official app stores. WhatsApp tells users to use only the official app.
  • Requests to pay. WhatsApp is free. WhatsApp says anyone asking you to pay to use it or to unblock your account is likely after your money or data.

The rule is simple: never share a WhatsApp verification code or two-step PIN with anyone, even a friend.

How to secure your WhatsApp account

  1. Turn on two-step verification In Settings, then Account, then Two-step verification. You set a PIN or password that is needed to register your number on a new phone, and you can add an email address to reset it. WhatsApp's help pages say it is replacing the six-digit PIN with a password option.
  2. Add a passkey and an email address WhatsApp's account-security tips recommend a passkey, linked to your phone's fingerprint, face or screen lock, and an email address for recovery.
  3. Check linked devices Under Linked devices, log out any computer or browser you don't recognize.
  4. Turn on encrypted backups So cloud backups of your chats are protected by a password or 64-digit key.
  5. Use app lock and chat lock So someone holding your unlocked phone can't open your chats.
  6. Install WhatsApp only from official stores And keep it updated, since updates fix flaws like the 2019 one.

WhatsApp messages are end-to-end encrypted by default. See encrypted messaging apps for how it compares with alternatives, and Facebook and Twitter/X account security for related advice.

If your WhatsApp account was taken over

  1. Re-register your number Open WhatsApp on your phone, log in again and enter the six-digit code sent by text or call. WhatsApp says this logs out every device linked to the account, including the attacker's. Changing a password alone won't.
  2. Wait out two-step verification if needed If the attacker turned on two-step verification and you don't know the PIN, WhatsApp says to wait 7 days and try again.
  3. Warn your contacts Tell them through another channel to ignore messages and requests sent from your account.
  4. Then report it WhatsApp advises recovering the account before reporting it, since a report can lead to suspension. If money was lost, also report it to the police, or to the FBI's IC3 in the US. Afterwards, turn on two-step verification and check linked devices.

Questions people ask

Can WhatsApp be hacked?

Accounts are usually taken over by tricking people into sharing their verification code, not by breaking encryption. Rare, expensive spyware attacks, such as NSO's 2019 exploit, have used software flaws.

What did the court decide in WhatsApp v. NSO?

The judge found NSO liable in December 2024. A jury awarded about $444,700 in compensatory and $167 million in punitive damages in May 2025. In October 2025 the judge cut punitive damages to about $4 million and permanently barred NSO from targeting WhatsApp.

Should I ever share my WhatsApp verification code?

No. WhatsApp says never to share it, even with friends or family. Anyone asking for your six-digit code or two-step PIN is likely trying to take over your account.

What is WhatsApp two-step verification?

An extra PIN or password needed when your number is registered on a new device. It stops someone who gets your SMS code from taking over the account.

Can someone read my WhatsApp messages?

Messages are end-to-end encrypted, so WhatsApp can't read them in transit. Someone with access to your unlocked phone, a linked device or an unencrypted backup could.

Sources

  1. Facebook security advisory: CVE-2019-3568 (facebook.com) · read November 13, 2026
  2. NIST National Vulnerability Database: CVE-2019-3568 (nvd.nist.gov) · read November 13, 2026
  3. US Commerce Department: Commerce Adds NSO Group and Other Foreign Companies to Entity List (2021) (commerce.gov) · read November 13, 2026
  4. SecurityWeek: NSO Ordered to Stop Hacking WhatsApp, but Damages Cut to $4 Million (2025) (securityweek.com) · read November 13, 2026
  5. CyberScoop: WhatsApp wins injunction against NSO Group, damages reduced (2025) (cyberscoop.com) · read November 13, 2026
  6. WhatsApp Help Center: How to manage two-step verification settings (faq.whatsapp.com) · read November 13, 2026
  7. WhatsApp Help Center: Account security tips (faq.whatsapp.com) · read November 13, 2026
  8. WhatsApp: Security (whatsapp.com) · read November 13, 2026
  9. WhatsApp Help Center: Learn to spot scams (faq.whatsapp.com) · read November 13, 2026
  10. WhatsApp Help Center: How to recover your account (faq.whatsapp.com) · read November 13, 2026
  11. WhatsApp Help Center: Always use the official app (faq.whatsapp.com) · read November 13, 2026
  12. Apple: About Lockdown Mode (support.apple.com) · read November 13, 2026