Foil for protection against undercooling/overheating