Vulnerabilities · 2020 · Libraw
CVE-2020-15503
Libraw vulnerability
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
Libraw, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libraw runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d · Patch
- lists.opensuse.org/opensuse-security-announce/2020-07/msg00075.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00001.html · Third Party Advisory
- github.com/LibRaw/LibRaw/compare/0.20-Beta3...0.20-RC1 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/11/msg00042.html · Third Party Advisory
- www.libraw.org/news/libraw-0-20-rc1 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C
- nvd.nist.gov/vuln/detail/CVE-2020-15503
- cve.org/CVERecord?id=CVE-2020-15503
More vulnerabilities in Libraw products
CVE-2025-43964CVE-2025-43963CVE-2025-43962CVE-2025-43961CVE-2023-1729CVE-2021-32142CVE-2020-35535CVE-2020-35534All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.