Yes, a bad oxygen sensor may cause a rotten egg smell. When one or more O2 sensors of a vehicle become faulty, it can result in an imbalanced fuel-to-air ratio within the engine. This imbalance might cause the exhaust to emit a rotten egg or sulfur smell.