The season is alive. Ryan Tannehill, a play-making defense and Caleb Sturgis are to thank.

In short, everything that was needed to win.

The Dolphins again blew a two-touchdown lead, but this time rallied late to stun the Bengals 22-20 in a Halloween treat for Dolphins fans.

The game-winning play: Cameron Wake’s safety sack of Andy Dalton on third down in overtime. It was just the third time in history that an overtime game has been decided by safety.

That four-game losing streak? History. Those internal issues? Quieted for at least the next 11 days.

On third-and-long in overtime, Wake blew past the offensive line and planted Dalton. It was Wake’s third sack of the game, and one of the biggest of his career.

The game was only in overtime because Caleb Sturgis shrugged off a 34-yard miss to nail a 44-yarder late in regulation.

Ryan Tannehill was rock solid when the game — and arguably the season — was on the line. He went 5 of 7 for 57 yards in the game-tying drive late in regulation. For the game, Tannehill was 20 of 28 for 208 yards.

Dalton, meanwhile, had an awful night. He turned the ball over four times, including a 94-yard pick-six thrown to Brent Grimes. It the first touchdown of Grimes’ career, and the fourth-longest interception return in franchise history.

For the second straight week, the Dolphins surrendered a 14-point lead. But this time, they held their composure, and won.

The Dolphins improved to 4-4 on the year. Cincinnati fell to 6-3. Remarkably, the Dolphins are just a half-game out of the sixth seed in the AFC.

The Dolphins couldn’t score early -- even when its defense gave its offense spectacular field position. Wake sacked and stripped Dalton and recovered the fumble at the Bengals 25. It was Wake’s first sack since the season opener.

But after a Miami three-and-out, Sturgis’ slump turned into a full-blown epidemic. He missed a 34-yard attempt wide left, keeping the Dolphins off the board.

The Bengals, meanwhile, converted when they got in field goal range, as Mike Nugent pounded through a 31-yarder to give Cincinnati a 3-0 lead.

Then came a play that had been a snapshot of the Dolphins’ season. Lamar Miller broke off a 41-yard run, but was caught from behind by Carlos Dunlap, who jarred the ball loose.

Adam Jones scooped it up and raced 43 yards in the other direction before he was tackle -- making it a net loss of two yards and a turnover for the Dolphins. Miller finished with 105 yards on 16 carries.

Finally, the Dolphins strung together a 93-yard scoring drive, sparked by a 40-yard catch-and-run by Mike Wallace. Tannehill capped off the drive with a 1-yard touchdown run, giving the Dolphins their first lead of the night.

Dimitri Patterson’s fourth interception in as many games set up a 36-yard field goal by Sturgis, giving Miami a 10-3 lead at the half. The Dolphins probably should have been up more. They forced two first-half turnovers and outgained Cincinnati 227-141.

The Bengals got the ball first, and proceeded to march down the field. But on third-and-4 from the Miami 10, Dalton threw a lazy out-route to Marvin Jones, which Brent Grimes jumped and took 92 yards to the end zone.