The connection between gamma ray bursts and supernovae is studied using a temperature-dependent vacuum model. A harmonically bound particle-antiparticle system is consistent with both Hawking radiation and Casimir effect, therefore, the Maxwell-Sellmeier model correlates the speed of light to temperature. According to quantum field theory, Lorentz invariance is violated only for temperatures larger than $4\times10^9$ K. Introducing in the temperature distribution of a 2D simulation for a type Ia supernova the speed of light temperature dependence proposed in this article, results a speed of light distribution. A theoretical snapshot of this distribution at an arbitrary distance is consistent with photon photo finish resulted from experiments. Variable speed of light shows that supernova is accompanied by gamma-ray bursts.