Improper input validation in Libraw
CVE-2020-15503
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.033, 88.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libraw — versions 0.20
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 31, 32
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Live-Hack-CVE/CVE-2020-15503). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.libraw.org/news/libraw-0-20-rc1 (Third Party Advisory, Broken Link)
- github.com/LibRaw/LibRaw/compare/0.20-Beta3...0.20-RC1 (Third Party Advisory, Release Notes)
- github.com/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d (Patch, Third Party Advisory)
- FEDORA-2020-f421eea477 (vendor-advisory)
- FEDORA-2020-f407db0e65 (vendor-advisory)
- FEDORA-2020-4f4c778096 (vendor-advisory)
- FEDORA-2020-07f0a49a9e (vendor-advisory)
- openSUSE-SU-2020:1088 (vendor-advisory, Mailing List, Third Party Advisory, Broken Link)
- openSUSE-SU-2020:1128 (vendor-advisory, Mailing List, Third Party Advisory, Broken Link)
- FEDORA-2020-ed284fd64b (vendor-advisory)