The consumer price index rose 5.08% from a year earlier, compared with 4.75% in May, the Statistics Ministry said Friday.