I guess it depends on how badly rotten it is. Squishy pumpkins should be fine, or those with a a poor outside. However, I wouldn't take a chance with one that is blackened or rotten through-and-through. Animals in the wild are use to older foods, after all, and sometimes even like them better then the fresh stuff.