Moeen Ali's brilliant effort went in vain.
Moeen had made a mere 10 runs in four previous international innings this season, but blasted 61 off 33 on Monday.
It was Pakistan's first victory in 66 days in England and meant they squared three-match T20I series at 1-1.
Eoin Morgan's 112-run stand with Dawid Malan helped England cross the line with five deliveries to spare.
The third and final T20 will be held at the same venue on Tuesday (September 1).
England beat Pakistan by five wickets.
On Wednesday, Mohammad Hafeez tweeted a picture of himself with a lady from the golf course adjacent to the team hotel despite strict instructions that the players shouldn't interact with anyone outside the bubble.
The report also said that the Dubai-based sports broadcasting company, Innovative Production Group (IPG), has been awarded "total rights" of the LPL for five years.
Players who test positive again will miss the tour of England and will be replaced in the 29-man squad by reserves.
PCB CEO also said that actions may be taken against him for his breach.