 Survival concerns supersede all the laws of "kashrut", as they do for most halakhot.The Tanakh describes circumstances in which a person who is "tahor" or ritually pure may become "tamei" or ritually impure.Some of these circumstances are contact with human corpses or graves, seminal flux, vaginal flux, menstruation, and contact with people who have become impure from any of these.