The spokesman for the Libyan military engineering corps was wounded in a bomb blast in Benghazi late on Saturday, a medical source said.
Saraj el Tira was wounded in his left hand and is still under probation, Fadia Barghathi, media official at Benghazi hospital, said.
Benghazi has been the scene of fierce fighting between the Libyan army and rebels after the army managed to push them out from key areas.
Libya has been torn apart by conflict since the 2011 uprising against Moammar Gadhafi, as armed factions supporting rival governments in Tripoli and the east have fought for power and a share of the country's oil wealth. Militants abused the security vacuum to expand their influence.
Benghazi, Libya's second-largest city, has seen some of the worst fighting, with violence escalating when military commander Khalifa Haftar launched a campaign in 2014 against Islamists and other armed groups.