The outcome left Virginia alone in first place in the ACC with North Carolina and Virginia Tech a game behind.
North Carolina was led by freshman Brandan Wright with 22 points, but the Tar Heels (24-6, 10-5) lost for the fourth time in eight games.
Neither team made a field goal in the final four minutes.
McPhee, Cokas 'working on their marriage' after affair
Attkisson leaves CBS News, reportedly over network's 'liberal bias'