How is it possible for a guy to give you a yeast infection even with perfect condom use?

After I had a one night stand with a few new sex partners I started getting a bad yeast infection. Is it possible one of them had one then passed it on to me? This is why having sex with random people could be dangerous? You don’t know what they have right?

How is it possible for a guy to give you a yeast infection even with perfect condom use?
Post Opinion