Global food prices extended their rally to the highest in almost a decade, heightening concerns over bulging grocery bills as economies struggle to exit the Covid-19 crisis.

A United Nations gauge of world food costs climbed for a 12th straight month in May, its longest stretch in a decade. The continued advance risks accelerating broader inflation, complicating central banks efforts to provide more stimulus.

Drought in key Brazilian growing regions is crippling crops from corn to coffee, and vegetable oil production growth has slowed in Southeast Asia. That’s boosting costs for livestock producers and risks further straining global grain stockpiles that have been depleted by soaring Chinese demand. The surge has stirred memories of 2008 and 2011, when price spikes led to food riots in more than 30 nations.

“We have very little room for any production shock. We have very little room for any unexpected surge in demand in any country,” Abdolreza Abbassian, senior economist at the UN’s Food and Agriculture Organization, said by phone. “Any of those things could push prices up further than they are now, and then we could start getting worried.”

The prolonged gains across the staple commodities are trickling through to store shelves, with countries from Kenya to Mexico reporting higher food costs. The pain could be particularly pronounced in some of the poorest import-dependent nations, which have limited purchasing power and social safety nets as they grapple with the pandemic.

The UN’s index is treading at its highest since September 2011, with last month’s gain of 4.8% being the biggest in more than 10 years. All five components of the index rose during the month, with the advance led by pricier vegetable oils, grain and sugar.

The world’s hunger problem has already reached its worst in years as the pandemic exacerbates food inequalities, compounding extreme weather and political conflicts.

There were other elements that exacerbated skyrocketing food costs a decade ago. For example, oil prices neared $150 a barrel — double current levels — and there was a wave of trade restrictions by major grain shippers. Costs for rice, one of the world’s food staples, have remained relatively subdued during the current agricultural price surge.