That seems interesting, it must be related to the particular image user tried to upload. If you could possibly locate the original (if you keep originals), to see if that was an actual image and what data it contained (I would not exclude malicious code hidden in exif, as a precaution, but could be something else as well). Without this, could be hard to reproduce.