Your next pocket travel guide
Upvote:1
As stated by Timatic, the database used by airlines:
Passports and other documents accepted for entry must be valid on arrival.
In other words, it only has to be valid on the day you enter Pakistan. So you'll be fine!