I think I took that same pumpkin photo... Must be a standard stock photo like the obligatory ballon vendor photo. (Sent from my iPad using Tapatalk)
I just my Tamaron 17-50 f/2.8 and crank the ISO us as high as possible. ; I also used manual focus. ; Then got lucky.