Some advertisements on Yahoo Inc's European websites last week spread malicious software, Yahoo said on Sunday, potentially infecting thousands of users.

On Friday, Fox-IT, a Delft, Netherlands-based computer security firm, wrote in a blog that attackers had inserted malicious ads served by ads.yahoo.com.