This spoiled yogurt is probably malodorous.
The definition of malodorous is something with a very unpleasant smell or odor.
Sour and rotten milk is an example of something that would be described as malodorous.
having a bad odor; stinking
Having a bad odor; foul.
(comparative more malodorous, superlative most malodorous)