In Metadata/Exif.cpp in jpeg_read_exif_profile() the size of exif_signature is subtracted from dwProfileLength without checking if the profile length was big enough to hold the exif signature. This patch aborts jpeg_read_exif_profile() if the profile is not long enough.
Anonymous