Consumer prices rose 2.6 per cent from a year earlier in the United States, up from 2.4 per cent in September. It was the first rise in annual inflation in seven months.