People wait in a line to buy face masks at a retail store in the southeastern city of Daegu on February 25, 2020.

With cases of the new coronavirus disease rising quickly beyond China, the odds of the outbreak turning into a pandemic have now doubled — from 20% to 40%, Moody's Analytics said in a report.

"Our previous assumption that the virus will be contained in China proved optimistic, and the odds of a pandemic are rising," wrote economists from the research and consultancy arm of Moody's Corporation.

They had earlier predicted a 20% chance of a pandemic, which is defined by the World Health Organization as "the worldwide spread of a new disease."

Cumulative confirmed cases of the new disease, also known as the COVID-19, exceeded 80,000 globally, according to latest data compiled by Johns Hopkins University. China has remained the country with the most number of total cases, but in the past few days, there's been a growing number of new cases outside the mainland — including in South Korea, Italy and Iran.

"The South Korean cases, combined with the spread of new cases in Italy and Iran, indicate that while the spread in China has slowed, the virus is spreading outside of China. And the ease of its spread may bode ill for an acceleration within China as workers return to their jobs and as shops and restaurants begin to reopen," said the Moody's report.