Green Bay Packers running back James Starks celebrates with fans after scoring a touchdown against the San Diego Chargers.

Jeff Hanisch/USA TODAY Sports USA TODAY Sports

GREEN BAY, Wis. -- The Green Bay Packers stopped San Diego on fourth-and-goal from the 3 with 15 seconds left and overcame a career day by Philip Rivers to hold off the Chargers 27-20 on Sunday.

Rivers set career highs with 43 completions, 65 attempts and 503 yards passing. He threw for two touchdowns for the Chargers (2-4). But he needed one more completion.

More from FoxSports

Rookie cornerback Damarious Randall lunged to poke away Rivers' short pass to Danny Woodhead near the front right pylon in the final seconds.

The fans inside Lambeau Field erupted with a collective sigh of relief. Green Bay (6-0) survived its biggest scare of the year to stay unbeaten.

The Packers started strong and finished barely in front. Running back James Starks had touchdowns on a 65-yard run and a 5-yard pass in the first quarter.