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