Australia fall just short against Pakistan
Nauman Ali's career-best figures have helped Pakistan to a slender first-innings lead in Rawalpindi with Australia all out for 459.
In a series-opener that seems destined for a draw, Australia's tail lasted just 20 minutes at the start of day five with a collapse of 3-10.
Before play, Australia had figured the only real hope of a result being achieved on the benign wicket would come if their tail wagged and set a lead of around 100.
Watch the latest Sport on Channel 7 or stream for free on 7plus >>
But Cummins' frustration on his dismissal summed up the situation, after he hit Nauman straight to cover.
The spinner also trapped a sweeping Nathan Lyon lbw for the final wicket of the innings, to finish with 6-107.
It marked the 35-year-old's third five-wicket haul in Test cricket in just his eighth Test.
Nauman had earlier taken both Steve Smith and Usman Khawaja's wickets on day three and four, cutting short their pursuit of centuries.
Cameron Green and Travis Head also fell victim to him, as he adopted a patient approach in a match where wickets have been hard to come by.