Hernandez is United's Carling Cup hero
Manchester United 3 Wolverhampton Wanderers 2
Javier Hernandez confirmed his status as Manchester United's new hero with a brilliant winner to take the Carling Cup holders into the last eight of the competition.
Hernandez came off the bench to secure victory over Wolves in the last minute of normal time and keep alive United's quest to become the first side to win the trophy three times in a row.
Bebe, the relatively-unknown striker signed in the summer for £7.4million from Portuguese side Vitoria de Guimaraes, crowned a promising first start with a fortunate opening goal before George Elokobi equalised.
Park Ji-Sung made it 2-1 to the home side but Kevin Foley hauled Wolves level again before Hernandez's excellent finish.
Sir Alex Ferguson made 11 changes and Wolves boss Mick McCarthy seven, and the first half in a quiet Old Trafford, with plenty of empty seats, was a dismal affair.
United's striker Gabriel Obertan and Federico Macheda were poor, the best chance coming when Macheda sent a shot straight at Wolves goalkeeper Wayne Hennessey after Bebe's scuffed centre ended up at his feet.
The second half opened with more apparent problems for United as Matt Jarvis rampaged down the right and sent over a ball to the far post that Steven Fletcher met with a cracking left-foot volley which went wide.
Darron Gibson gave United encouragement with a swerving free-kick that was on target, the only problem being that it swerved straight into Hennessey's arms.
Park looked certain to score when Michael Carrick feigned to shoot and instead played a delicious pass to set the Korean free but Hennessey pulled off a stunning block.
It finally needed a touch of fortune - and an excellent decision by assistant referee Darren Cann - to see United take the lead.
Bebe did well to muscle past Elokobi but his deflected cross went right over the Wolves keeper and dropped over the line. Foley thought he had headed the ball off the line but Cann waved his flag for a goal, and TV replays showed the World Cup final linesman had judged it perfectly.
No sooner had United taken the lead then Wolves equalised. Fabio's brilliant block denied Stephen Hunt but from the corner Elokobi rose superbly and thumped a header into the goal.
Macheda, of whom so much was expected, continued to disappoint when he hooked over from Bebe's astute pass - he should have scored.
Despite that miss the goals kept coming, first when Park put United 2-1 up. It was his driving run that took the ball into the heart of Wolves territory and it came back to him somewhat fortuitously after Macheda lost control, and Park placed the ball neatly into the corner of the net.
Once more however Wolves came back with a nice build-up involving Sylvan Ebanks-Blake and a flick from Fletcher to set up Foley who fired through Jonny Evans' legs past Ben Amos.
It could have been worse for United when Ebanks-Blake sidestepped Chris Smalling and hammered a terrific shot with a minimum of backlift only to see it skim past the upright.
With extra-time approaching Ferguson took off the tired-looking Bebe, and sent on the weekend's goalscoring hero Hernandez.
The young Mexican was immediately influential, sending Obertan sprinting in on goal but his finish was once again disappointing, flashed wide with only the keeper to beat.
Hernandez's class finally made the difference in the very last minute of normal time when he left two Wolves defenders in a heap and lifted the ball coolly over Hennessey.
Latest in Sport
Arsenal transfer news: Karim Benzema, Edinson Cavani and Gregorz Krychowiak were all linked but Wenger and Gunners fail on deadline day
Arsenal transfer news: Gunners fans devastated as they become only team in top 5 European leagues not to sign outfield player
David De Gea: Manchester United in bitter war of words with Real Madrid over failed transfer
David De Gea, Peter Odemwingie and the 18 weirdest transfer deadline day stories
Anthony Martial fee: 'Add-on' includes Manchester United signing winning the Ballon d'Or
- 2 Moscow voted the world's unfriendliest city
- 3 The excuses your boss is most likely to believe when you call in sick
- 4 I'm pansexual – here are the five biggest misconceptions about my sexuality
- 5 More than 11,000 Icelanders offer to house Syrian refugees to help European crisis
Climate change: 2015 will be the hottest year on record 'by a mile', experts say
Jeremy Corbyn calls Osama bin Laden's killing a 'tragedy' - but was it taken out of context?
If these extraordinarily powerful images of a dead Syrian child washed up on a beach don’t change Europe’s attitude to refugees, what will?
If you're not already angry about the refugee crisis, here's a history lesson to remind you why you really should be
Theresa May says migrants should be banned from entering the UK unless they have jobs lined up
Tony Blair attacks Jeremy Corbyn's 'Alice In Wonderland' politics