Oil prices extended gains on Wednesday after industry data showed a large draw in crude inventories in the U.S., the world's biggest fuel consumer, and as a hurricane in the Gulf of Mexico kept investors on edge.