Poorly stored gasoline can spontaneously combust, though. So more like a firebomb.
What it does do is slowly polymerize, becoming useless as an ICE fuel in time, typically in a year or two. This is why backup generators should run on propane, which has no degradation mechanism.
Edit: https://petapixel.com/2015/06/11/explosion-at-junk-yard-phot...