All reports
Medium

LibRaw: lack of thumbnail size range check can lead to buffer overflow

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-15503

Probability of exploitation in the next 30 days: 3.30%

FIRST EPSS · 2026-11-22

Description

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.