A description of the factorization of a cubic polynomial over the fields GF(2n) and GF(3n) is given. The results are analogous to those given by Dickson for a cubic over GF(pn), p > 3.