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.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15503
Reference (s):
- FEDORA:FEDORA-2020-07f0a49a9e
- URL: https://lists.fedoraproject.org/archives/list/[email protected]/message/7HM2DS6HA4YZREI3BYGS75M6D76WMW62/
- FEDORA:FEDORA-2020-4f4c778096
- URL: https://lists.fedoraproject.org/archives/list/[email protected]/message/QCVKD7PTO7UQAVUTBHJAKBKYLPQQGAMZ/
- FEDORA:FEDORA-2020-c6fa12cfb1

