The price of a barrel of oil rose above $95 on Tuesday, stoking fears it could impact inflation.