Josh Scott had 17 points and 11 rebounds, Xavier Johnson scored 14 points and Colorado boosted its chances of a first-round bye in next week's Pac-12 Conference tournament with a 59-56 victory over Stanford on Wednesday night.
Xavier Talton added nine points and five rebounds to help the Buffaloes (21-9, 10-7 Pac-12) break a two-game losing skid and hand the Cardinal another setback. Stanford has lost three straight for the first time all season.
Chasson Randle scored 24 points to rally the Cardinal (18-11, 9-8) from an eight-point deficit to take the lead in the final minutes. But he missed a 3-pointer as time expired.
Both teams began the day tied with California for fourth place in Pac-12 play. The top four teams earn a first-round bye in next week's conference tournament in Las Vegas.
Colorado completes its regular-season slate Saturday at Cal. Stanford hosts Utah in its finale.