There were no reports of injuries or damage.
The earthquake did not pose a tsunami threat, the Malaysian Meteorological Department said.
The epicenter was 326 miles southeast of Lata in the Solomon Islands, the Bernama news agency reported.
The earthquake was centered 16 miles from Port-Olry, 33 miles from Luganville and 195 miles from Port Villa.
Beautician charged with giving client fatal silicone butt injection
Handler slams Piers Morgan: 'You're a terrible interviewer'