Chemical and thermal stability of waste products