We consider a two-temperature model for ultrafast melting and solidification observed in pulsed-laser-irradiated materials. The model takes into account energy exchange between the fast relaxing mode related to heat conduction and the slow mode associated with structural rearrangement. Such an anomalous heat transport leads to interface overheating.