Scottish League Cup holders Celtic have progressed to the fourth round with a comfortable 2-0 victory over Championship side Raith Rovers.
However, Kris Commons gave the champions the lead shortly after the half-hour mark when he robbed the Rovers defence and arrowed a low drive into the bottom corner from the edge of the box.
Ross Matthews had the best chance of an equaliser when he volleyed over from 15 yards, but Celtic secured their fourth-round spot with a fast counter-attack which was finished off by Stefan Johansen after the Norwegian had run half of the length of the pitch.
The visitors lost both Willo Flood and Graeme Shinnie to injury in a first half of few chances, but they nearly took the lead after the break when substitute Peter Pawlett headed over from Niall McGinn's cross.
Mark Oxley saved well from David Goodwillie as the SPL side continued to look the more likely, but with eight minutes remaining Jason Cummings put Hibernian in front in emphatic style when he chested the ball down and swivelled to fire a 20-yard shot past the helpless Danny Ward.
Hibs secured their win two minutes from time when Dominique Malonga raced away to seal victory and consign Aberdeen to a first domestic defeat of the season.
Magennis must have thought that he had won it when he netted his second 10 minutes from time, but substitute Juanma Delgado came up with a last-minute equaliser before Sam Nicholson completed the turnaround in injury time.
Results in full: Celtic 2-0 Raith Rovers (1-0), Hibernian 2-0 Aberdeen (0-0), Kilmarnock 2-3 Hearts (1-0) body check tags ::