Inflation hit its highest level in three years — driven by surging costs for energy, food and housing, according to a Bureau of Labor Statistics report released Tuesday morning.