Tyler Hansen overcame his second-straight eight-sack day to lead Colorado to a 35-34 win over the Texas A&M Aggies on Saturday.
Patrick Devenny's one-handed grab from 22 yards out tied it and Aric Goodman's conversion sailed through to put the Buffaloes ahead by a point with 2:04 left.
After Anthony Perkins picked off Jerrod Johnson's pass at midfield, the Aggies forced a punt, but Terrence Frederick muffed it and Buffs linebacker Marcus Burton recovered with 23 seconds to ice it.
The Buffaloes (3-6, 2-3 Big 12) snapped a three-game skid and kept the Aggies (5-4, 2-3) from becoming bowl eligible.