U.S. home prices rose in May compared with a year earlier, but the gains have slowed.

Data provider CoreLogic said Tuesday that prices increased 8.8 percent in May compared with 12 months earlier. The pace of gains has slowed as more homes have come onto the market, according to CoreLogic.