Extreme temperatures, both hot and cold, can be harmful to headphones. Cold temperatures can make certain parts of the headphones brittle, while hot temperatures can cause internal components to overheat. As a rule of thumb, if it's a temperature you'd be uncomfortable in, it's likely not good for your headphones.