Many sources say that low-acid canned vegetables (which includes most of them) may be safe to use for 2-5 years if the can remains in good condition, with no major dents, no rust, no bulging, and no spurting of liquid when opened. However, quality (taste, vitamin content, etc.) may deteriorate with time.