The U.S. Geological Survey said the 8:07 EST Friday temblor was 4 miles northwest of Acayucan at a depth of 82.6 miles.
The epicenter was 292 miles southeast of Mexico City, the USGS said.
State-run oil company Pemex said the quake did not affect the oil complexes, refinery and exporting terminals in Veracruz, the Los Angeles Times reported.
"We are operating normally," Pemex spokeswoman Georgina Saavedra said in the southern port of Coatzacoalcos. "We felt it, but it was mild."
A local coffee organization said there were no reports of damage to coffee farms in Veracruz, Mexico's No. 2 coffee-producing state.
Kate Middleton recycles dress at movie premiere
Gal Gadot cast as Wonder Woman for 'Batman vs. Superman'