The global economy has stepped back from the brink of danger and signs of stabilization are emerging from the euro zone and the United States, but high debt levels in developed markets and rising oil prices are key risks ahead, the IMF said on Sunday.