When something has a bad smell, often referred to as being stinky, it omits a foul or offensive odor.