Making use of the fundamental solution of the heat equation we prove stabilities of the Pexider equation and the Pexider-exponential equation in spaces of generalized functions such as the Schwartz tempered distributions, Fourier hyperfunctions and Gelfand-Shilov generalized functions.