The attack left two soldiers dead, the source added.
No group has claimed responsibility for the attack.
Most of Marib, located north-east of the capital Sana'a, is under government control.
Yemen has been in the grip of a devastating power struggle between the Saudi-backed government and the Houthi rebels since late 2014.
The feud has intensified since 2015 when the Houthis advanced on the government's temporary capital of Aden, prompting Saudi Arabia and its Sunni allies to start a military campaign against the Shiite group.
---------------------------------------------------------------------------------------------------
No group has claimed responsibility for the attack.
Most of Marib, located north-east of the capital Sana'a, is under government control.
Yemen has been in the grip of a devastating power struggle between the Saudi-backed government and the Houthi rebels since late 2014.
The feud has intensified since 2015 when the Houthis advanced on the government's temporary capital of Aden, prompting Saudi Arabia and its Sunni allies to start a military campaign against the Shiite group.
---------------------------------------------------------------------------------------------------