Lionel Messi gave Barca the lead in the 19th minute and the champions looked set to collect a fifth straight league win before Lenglet was dismissed on his first league appearance for Barca following a VAR review.
Stuani levelled with a fantastic finish before half-time and five minutes after the restart the striker was on target again to give Girona hope of recording a famous victory.
But Gerard Pique rose highest in the penalty area to head home and salvage a draw for Barcelona, who move back above rivals Real Madrid into top spot despite dropping their first points of 2018-19.
Girona created the first clear chance in the fifth minute but Bernardo Espinosa headed an Aday Benitez corner into the arms of Marc-Andre ter Stegen.
Bono brilliantly denied Messi at the end of a dazzling solo run but he could do nothing about the Barca captain's opener, a fantastic first-time finish from 14 yards out after Arturo Vidal's fine work.
Barca were reduced to 10 men when Lenglet saw red following a VAR review, the defender having caught Pere Pons with his elbow, and Girona quickly made their man advantage count.
Benitez raided down the right wing and fed Stuani, who turned away from Pique and makeshift partner Sergio Busquets to slot a neat finish past Ter Stegen.
And Stuani put Girona into a shock lead in the 51st minute, slamming home a rebound after Ter Stegen had saved well from Portu.
Messi clipped the crossbar with a 30-yard free-kick before Pique drew Barca level with a clever header that set up a thrilling finale during which Ernesto Valverde's men were unable to break Girona's resistance.
What does it mean: Squad rotation backfires
Valverde left Barca stars Samuel Umtiti, Ivan Rakitic and Philippe Coutinho on the bench and while he could not have predicted Lenglet would see red in the first half, the decision did not pay off. Barca have to manage their squad the same way as anyone, but the champions have given up their two-point lead atop the table with Madrid drawing level thanks to their narrow defeat of Espanyol on Saturday.