Pakistan dismissed New Zealand for 293 in its second innings and will chase 274 on the final day to win the match and the series.
Umar Gul took 4-61 and left-arm spinner Abdur Rehman claimed 3-119 for Pakistan.
Scores:
New Zealand 356 & 293 (90.5 ov)
Pakistan 376