NetSight
high7.5

CVE-2020-15503

LibRaw before 0.20-RC1 lacks a thumbnail size range check.

Impact

LibRaw before 0.20-RC1 lacks a thumbnail size range check. This affects decoders/unpack_thumb.cpp, postprocessing/mem_image.cpp, and utils/thumb_utils.cpp. For example, malloc(sizeof(libraw_processed_image_t)+T.tlength) occurs without validating T.tlength.

Affected products

VendorProductAffected versions
LibrawLibraw
through 0.19.5
Version 0.20
FedoraprojectFedora
Versions 31, 32
DebianDebian Linux
Version 10.0

Weakness classification

References