Movie from the 80s? A group of people are on a spaceship that hit by meteors. They repair the meteor holes with expanding foam, but the pilot is stuck in her bridge and is exposed to radiation.
Meanwhile, I think there’s a saboteur on the ship. The ending fight scene he does from one of the other passengers spraying the expanding foam into his mouth.