CVE-2020-15503

NameCVE-2020-15503
DescriptionLibRaw 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium
Debian Bugs964747

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libraw (PTS)stretch (security), stretch0.17.2-6+deb9u1vulnerable
buster0.19.2-2vulnerable
bullseye, sid0.19.5-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librawsourceexperimental0.20.0-1
librawsource(unstable)(unfixed)964747

Notes

[buster] - libraw <no-dsa> (Minor issue)
[stretch] - libraw <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=1853477
https://github.com/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d

Search for package or bug name: Reporting problems