At least 40 people were killed when suspected al-Qaeda militants launched simultaneous attacks on army targets in southern Yemen, officials say.
Two car bombs reportedly exploded at a camp in Shabwa province, killing about 30 soldiers and wounding many others.
In a second assault in the area, gunmen shot dead another 10 soldiers in the town of Maifaa.
The government is battling al-Qaeda in the Arabian Peninsula (AQAP), which frequently targets the military.
In the past year, a major army offensive backed by US drone strikes has forced AQAP and affiliated militant groups out of towns in the south that they seized during the political chaos triggered by the Arab Spring.
BBC Arab affairs analyst Sebastian Usher says the Shabwa attacks, if they were carried out by AQAP, show what they are still capable of, despite having lost a number of their key members to drone strikes.
The attacks appeared to have been well-organised and co-ordinated. Officials said they took place on Friday at dawn under the cover of heavy fog.
A concealed bomb in one car exploded among a group of soldiers as the driver sought to enter the camp, the Reuters news agency reports.
The other explosives-filled vehicle was believed to have been blown up inside the camp.
In Maifaa, the attackers opened fire on a group of soldiers on patrol before escaping in stolen army vehicles, witnesses said.
Our correspondent says the government will face tough questioning about the security failures that allowed these attacks to happen in what are meant to be well-guarded bases.
President Abdrabbuh Mansour Hadi has made restructuring the army as well as trying to restore security one his most urgent priorities.
Aside from AQAP, Yemen’s stability continues to be shaken by separatists in the south and a rebellious Shia movement in the north, as well as a poorly performing economy.
AQAP, which is based in Yemen, has been described by the US as one of the world’s most dangerous branches of al-Qaeda.
Led by a former aide to Osama Bin Laden, it has promised to attack oil facilities, foreigners and security forces as it seeks to topple the Saudi monarchy and Yemeni government, and establish an Islamic caliphate.
Last month, the US and several other Western countries temporarily shut their embassies in Sanaa citing continuing security concerns, amid warnings that AQAP was in the final stages of planning a major attack.