Euro zone inflation rose in May due to higher energy costs sparked by the war in the Middle East, official data showed today.