If you have a ton, and I mean a huge amount, like, 100, cats and dogs, when you are attacked, one will teleport to you, about a 1 in 200 chance.
This is very annoying, especially if you have a mob farm in spawn chunks, as they can teleport from hundreds of blocks away.
Dupe of MC-696