Oil prices have rebounded from early losses after US government data showed a larger-than-expected falloff in crude inventories, which encouraged buying after several days of selling on worries that a global crude glut was persisting despite output cuts by producing countries.