Twitter has informed an undisclosed number of users their private messages may have been leaked to third-parties for more than a year due to a virus.