The UK saw prices rise by the steepest gradient in 40 years last month, as concerns grow about the worsening cost of living crisis.