The hacking of WhatsApp’s messaging service is a classic example of a Buffer overflow attack.
Buffer overflows aren’t new, but you don’t often see them these days and this attack is particularly clever because it uses this flaw to gain access to a phone without the user even answering.