U.S. home prices increased at a slower pace in June—a cooldown that could continue for several more months.

The Standard & Poor’s/Case-Shiller 20-city home price index rose 8.1 percent in June from 12 months earlier, according to a Tuesday report. That’s down from 9.4 percent a month earlier and the smallest annual gain since December 2012.