A magnitude-5.2 earthquake hit Oaxaca, Mexico on Monday at a depth of 10 kilometers, according to the National Seismological Service of Mexico (SSN).