Josh Huestis went 8-of-12 from the field, finishing with 22 points, and Anthony Brown scored 18 for the Cardinal (18-8, 9-5 Pac-12), which corralled a fifth win in six games.
Stanford fell to the Bruins 91-74 last month.
Zach LaVine and Norman Powell each scored 14 points for UCLA (21-6, 10-4), which had its four-game winning streak snapped.
Dennis Rodman pledges to end trips to North Korea
Senate Democrats to pull all-nighter on climate change