A few months ago I bought a couple of tubes from the local bike guy that were left under a leak in the roof of his garage with -40 deg C <-> + 40 deg C* temperature range for at least five years. They work fine.
*That is -40 deg F <-> 104 deg F in case there is a caveman reading this.