Does gasoline go bad?

I have an emergency cache of gasoline - regular octane stored in 5-gal plastic jerry cans. It’s probably 10 or 12 years old. I’ve heard a rumor that gasoline “goes bad” after some period of time. Is this true? Can I use this without concern for the effect on my engine, or should I recycle it and get a new supply?