Dale Steyn sent Pakistan crashing to a new low as South Africa took control on the second day of the first Test at the Wanderers Stadium on Saturday.
Steyn took six for eight in 8.1 overs as Pakistan were shot out for 49, four fewer than their previous lowest total of 53 against Australia in Sharjah in 2002/03.
South Africa led by 204 runs on the first innings but decided not to enforce the follow on.
The hosts were 207 for three in their second innings at the close, an overall lead of 411, with Graeme Smith (52), Hashim Amla (50 not out) and AB de Villiers (63 not out) hitting half-centuries.
South Africa first innings 253
Pakistan first innings
M Hafeez c de Villiers b Steyn 6
N Jamshed lbw Steyn 2
A Ali c de Villiers b Kallis 13
Y Khan c Smith b Steyn 0
M-ul-Haq c de Villiers b Kallis 12
A Shafiq c de Villiers b Philander 1
S Ahmed c de Villiers b Steyn 2
U Gul c de Villiers b Philander 0
S Ajmal c de Villiers b Steyn 1
J Khan not out 8
R Ali c du Plessis b Steyn 0
Total (all out; 29.1 overs) 49
Fall of wickets: 1-9 2-12 3-12 4-36 5-37 6-39 7-39 8-40 9-41 10-49.
South Africa second innings
G Smith c Ahmed b Gul 52
A Petersen c Hafeez b Gul 27
H Amla not out 50
J Kallis c Shafiq b Ajmal 7
A de Villiers not out 61
Extras (lb4, w-1, nb-3) 8
Total (for three wickets; 53 overs) 207
Fall of wickets: 1-82 1-87 3-99.
It was another triumph for South Africa's barrage of fast bowlers and the third time in less than two seasons that the world's number one Test team had bowled out opponents for less than 50.
Australia were routed out for 47 in 2011/12 and New Zealand were dismissed for 45 earlier this season. Both matches were in Cape Town.
AB de Villiers equalled the South African wicketkeeping record by holding six catches and there were three catches in the slips as the Pakistan batsmen failed to cope with top quality bowling on a pitch with steep and sometimes variable bounce as well as some sideways movement.
Vernon Philander took two for 16 and Jacques Kallis two for 11.
Azhar Ali (13) and captain Misbah-ul-Haq (12) were the only Pakistan batsmen to reach double figures.
Steyn was outstanding, bowling at high pace and making the ball move away disconcertingly from the right-handed batsmen. He started Pakistan's collapse by taking three wickets in 14 balls at the start of the day and followed up with three more in 12 deliveries to wrap up the innings soon after lunch.
Steyn struck with his fifth ball of the day after Pakistan resumed at six for no wicket, having Mohammad Hafeez caught behind for six, edging an out-swinger.
In his next over Steyn trapped new cap Nasir Jamshed leg before wicket when the left-hander went back on his stumps against a full delivery.
Jamshed, who had survived in the previous over when Philander unsuccessfully sought a review of umpire Bruce Oxenford's not out decision, was himself the victim of a failed review after being given out by umpire Billy Bowden.
Five balls later Steyn claimed the key wicket of Younis Khan, caught at first slip when he edged a perfect out-swinger.
Azhar Ali and Misbah-ul-Haq survived for more than an hour before Kallis claimed two wickets in three balls, having both batsmen caught behind.
Misbah was given out on review after Bowden turned down an appeal, although hot spot evidence showed only the faintest, momentary touch.
Philander, after bowling four maiden overs at the start of play, came back to dismiss Asad Shafiq and Umar Gul within three balls as Pakistan lurched to lunch at 40 for seven.
Steyn struck twice in the first over after lunch but Junaid Khan edged and slogged two boundaries off Philander before Steyn had Rahat Ali caught at third slip.
Batting conditions remained difficult at the start of South Africa's second innings but Graeme Smith and Alviro Petersen put on 82 for the first wicket.
Three wickets fell in quick succession before Hashim Amla and AB de Villiers pressed home South Africa's advantage with an enterprising unbeaten fourth wicket stand of 108.