Rescue workers unload earthquake victims from an ambulance at a hospital in Saidu Sharif, a town Pakistan's Swat valley. AP
At least nine people were killed and 44 injured in northwest Pakistan, a Pakistani government official said, and hospitals in northern Khyber Pakhtunkhwa province were put into a state of emergency overnight.
At least four people were killed and 50 injured in Afghanistan, a health ministry official there said.
Pakistans parliament summoned in midst of crisis over former PM Khan
Strong earthquake felt across Pakistan
Houses and buildings in both countries were also damaged, authorities said.
The quake was felt over an area more than 1,000 kilometres (621 miles) wide by some 285 million people in Pakistan, India, Uzbekistan, Tajikistan, Kazakhstan, Kyrgyzstan, Afghanistan and Turkmenistan, the European-Mediterranean Seismological Centre said.
Rescue workers and people gather at a hospital in Saidu Sharif, Pakistan, on Tuesday. AP
The epicentre was in the Hindu Kush mountains, in the sparsely populated northeastern Afghan province of Badakhshan, 40km southeast of Jurm village, at the considerable depth of 187km, the US Geological Survey said.
In Pakistan's Khyber Pakhtunkhwa province senior provincial official Abdul Basit said that in addition to the dead and injured, at least 19 houses were damaged.
Shafiullah Rahimi, a spokesperson for Afghanistan's disaster mitigation ministry, said late on Tuesday that two people had been killed in the eastern province of Laghman.
Large parts of South Asia are seismically active because a tectonic plate known as the Indian plate is pushing north into the Eurasian plate.
A 6.1 magnitude earthquake in eastern Afghanistan killed more than 1,000 people last year.
In 2005, at least 73,000 people were killed by a 7.6 magnitude quake that struck northern Pakistan.
The quake was reported 259km northeast of Kabul in Afghanistan, 317 km southeast of Dushanbe in Tajikistan, 346 km north-northwest of Islamabad in Pakistan, according to National Centre for Seismology.
Pakistan is hosting the third round of trilateral talks with Afghanistan and China to cover trade, counterterrorism and ending Afghanistan’s 18-year war.
The US, which invaded Afghanistan and toppled the Taliban in 2001, wants to withdraw thousands of troops but only in return for the insurgent group renouncing Al-Qaeda and curbing attacks.
The UAE is reputed for its humanitarian approach to issues, which reflects intrinsic Arab spirit. Its role in combating polio particularly in Pakistan, is simply stellar, in short. And the person who is spearheading the drive to combat polio in Pakistan
The Agency provides education, health care, and social services to Palestinian refugees. The agency is funded almost entirely by contributions from member states of the United Nations.
The mayor of Belgorod, Valentin Demidov, told AFP that around 5,000 people who fled border villages have registered with city authorities, with several hundred in temporary housing.
A default would have likely triggered market panic, huge job losses and a recession, with global implications.