LINCOLN, Neb. -- Ameer Abdullah and Imani Cross each ran for more than 100 yards, Taylor Martinez passed for three touchdowns and 18th-ranked Nebraska survived two late turnovers to defeat Wyoming 37-34 victory Saturday night.
The Cornhuskers, who won their nation-leading 28th straight opener, scored on four of five possessions after trailing 14-10 early in the second quarter and then had to hang on as Wyoming made it a game to the end.
"Well, we're 1-0 and I'm happy we're 1-0, but obviously we've got a lot of work to do," Nebraska coach Bo Pelini said. "I just told our team, whether you win the game by three or win 65-0, it's never as good as you think it is, and it's never as bad as you think it is."
Wyoming's defense held, and the Cowboys got the ball back on their 6 with 1:07 to play, but time ran out on them before they could even get to midfield.
Martinez completed 17 of 22 passes for 155 yards. Abdullah ran for 114 yards and Cross for 105.
Nebraska needed all 530 of its total yards because Wyoming was able to put up alarming numbers against a defense that had to replace eight defensive starters.
"To me, it was a bad dream," Huskers defensive coordinator John Papuchis said. "It was close to being a nightmare."
The Huskers never could get comfortable, not even after Ciante Evans' interception at the Nebraska 10 with his team leading by 16 points with less than 10 minutes left in the game.
The Cowboys got the ball back when Blair Burns intercepted Martinez, and Smith's 29-yard touchdown to Jalen Claiborne pulled the Cowboys within 37-27 with 6:02 to play. The Cowboys' 2-point try failed when Smith was sacked by Josh Mitchell.
After Marqueston Huff recovered Martinez' fumble at the Wyoming 38, Smith found Herron along the right sideline for another TD that stunned the crowd on a sweltering night at Memorial Stadium.
"I was expecting a lot cleaner performance," Pelini said, "but by no means am I panicking."
The Huskers looked like they would take control after going into halftime ahead 17-14.
Cross scored his second touchdown after he took a handoff, slipped up the middle, bounced off linebacker Jordan Stanton and spun around twice before finishing his 31-yard touchdown run for a 24-14 lead.
Nebraska went 67 yards in 15 plays on its next series, with Martinez lofting a 3-yard touchdown pass to Quincy Enunwa. Officials ruled Enunwa didn't get his foot down inbounds, but the call was overturned on video review.
Wyoming pulled to 31-21 when Brandon Miller caught a short pass from Smith and battled his way into the end zone for a 22-yard TD.
Nebraska has won all seven meetings with Wyoming and is 33-2 against current members of the Mountain West Conference.
The Cowboys went 64 yards in six plays on their second possession to take the early lead. Wick ran 37 yards down the sideline before Smith hit Claiborne with a 6-yard touchdown pass after getting flushed from the pocket.
Another big run, this one a 47-yarder by Smith, helped the Cowboys go up 14-10 early in the second quarter. Harvey Jackson made the touchdown-saving tackle on Smith, but Wick bulled into the end zone from 6 yards three plays later.
Nebraska regained the lead with 5:59 left in the half after Abdullah broke a career-long 62-yard run. He eluded Huff's diving tackle attempt before making it to the corner. He accelerated past Stanton and would have scored if Darrenn White, who had an angle on him, hadn't knocked him out of bounds at the Wyoming 18.
Cross went up the middle for 17 yards and fumbled, but receiver Quincy Enunwa recovered, and Cross went ran into the end zone on the next play for a 17-14 lead.
The game drew a school-record attendance of 91,185, made possible by a 6,000-seat addition to the east side of Memorial Stadium.
adidas Men's Nebraska Cornhuskers Grey Sideline Coaches PoloPrice: $38.93 Shop
South Carolina coach Steve Spurrier told his players and coaches Monday night that he is retiring immediately, sources told ESPN.com.
Steve Sarkisian has been plagued of late by apparent substance-related circumstances, including arriving to team facilities appearing intoxicated Sunday, according to sources.
Florida Gators quarterback Will Grier has been suspended for the year after testing positive for a performance-enhancing substance found in a supplement, coach Jim McElwain announced Monday.
Former USC coach Pete Carroll said Monday that he's saddened by Steve Sarkisian's situation and he has reached out to his former assistant.
Ole Miss offensive tackle Laremy Tunsil will be eligible to return to action for the Rebels following Saturday's game against Memphis, sources told ESPN.com on Monday.
After a decades-long ban, Nevada Gaming Control granted approval for the state's regulated sportsbooks to offer wagering on the Heisman Trophy, with LSU's Leonard Fournette the early favorite.