Climate change is essentially tied with the Islamic State as the most-feared security threat across much of the world — except in the United States, where cyberattacks are considered a greater danger than global warming, according to a Pew Research Center report released on Tuesday.

Residents of 13 countries ranked climate change as the greatest threat to national security, while in 17 countries the Islamic State was considered a more immediate problem.

In the United States, however, a gaping partisan divide pushed climate change to third-most severe perceived threat, after ISIS and cyberwarfare. Just 56 percent of Americans surveyed identified global warming as the most serious threat to the country, compared to 71 percent for cyberwarfare and 74 percent for Islamic State attacks.

The American intelligence community concluded that Russia used cyberweapons to interfere with the presidential election last year, perhaps accounting for the heightened sense of threat. The Trump administration has consistently played down the dangers of a warming climate and has withdrawn the United States from the Paris accord on climate change signed by nearly 200 nations.