Another series, another injury for Proteas' captain Temba Bavuma
Proteas captain Temba Bavuma suffered a calf strain during the disastrous third ODI against England on Sunday.
The Test series will kick off in Lahore on 12 October with the final game in Rawalpindi from 20 October.
The Proteas are the holders of the World Test Championship mace after beating Australia in the final at Lord's in June.
It will also be the first red-ball series for the Proteas in Pakistan with crowds since the return of international cricket to the Asian country after the sides played a two-match series in 2021 behind closed doors due to the Covid-19 pandemic.
"We are looking forward to welcome South Africa for the opening series of our ICC World Test Championship 2025-27 campaign," Pakistan Cricket Board CEO Sumair Ahmed said.
"Starting the new cycle against the current Test champions will provide quality cricket for our players and fans."
Following the Test series, Pakistan will then host the Proteas in three T20Is, starting in Rawalpindi on 28 October, before the teams do battle in a three-match ODI series from 1 November.
South Africa tour to Pakistan schedule:
October 12-16 - First Test, Lahore
October 20-24 - Second Test, Rawalpindi
October 28 - First T20I, Rawalpindi
October 31 - Second T20I, Lahore
November 1 -Third T20I, Lahore
November 4 - First ODI, Faisalabad
November 6 - Second ODI, Faisalabad
November 8 - Third ODI, Faisalabad