Consumer prices rose 3.6 percent on the year last month, an acceleration from 3.4 percent in May.