The world number one brought the match to a deciding session with a magnificent break of 125 in the eighth, tying it 4-4 in Yushan.
However, O'Sullivan missed a vital black in a thrilling final frame, allowing Vafaei to return to the table and secure a 5-4 triumph.
#snooker