A 5.8 magnitude earthquake has killed at least 38 people and injured hundreds in east Pakistan, authorities said.

The epicentre of Tuesday's quake was close to the city of Mirpur, in Pakistan-administered Kashmir.

Pakistan's military said relief teams are taking tents, food, drinking water and medical supplies to the worst affected areas.