The U.S. consumer price index (CPI) rose by 3.3 percent year on year in May, according to the U.S. Bureau of Labor Statistics on Wednesday.