# CVE-2020-15503: LibRaw before 0.20-RC1 lacks a thumbnail size range check.

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.30%, higher than 88% of CVEs (2026-12-01)
- Published: 2020-07-02T00:00:00.000Z
- Modified: 2026-06-17T02:56:45.237Z
- Weaknesses: CWE-20
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libraw libraw: up to 0.19.5; 0.20
- fedoraproject fedora: 31; 32
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://www.libraw.org/news/libraw-0-20-rc1> (broken-link, third-party-advisory)
- <https://github.com/LibRaw/LibRaw/compare/0.20-Beta3...0.20-RC1> (release-notes, third-party-advisory)
- <https://github.com/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d> (patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DNGDWTO45TU4KGND75EUUEGUMNSOYC7H/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSXAJKZ4VNDYVQULJNY4XDPWHIJDTB4P/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCVKD7PTO7UQAVUTBHJAKBKYLPQQGAMZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7HM2DS6HA4YZREI3BYGS75M6D76WMW62/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00075.html> (broken-link, mailing-list, third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00001.html> (broken-link, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y34ALB34P3NGQXLF7BG7R6DGRX6XL2JN/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZETDVPZQWZWVGIG6JTIEKP5KPVMUE7Y/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00042.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2020-15503](https://www.cve.org/CVERecord?id=CVE-2020-15503), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-15503](https://nvd.nist.gov/vuln/detail/CVE-2020-15503), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15503 · Whole record: https://cve.day/CVE-2020-15503.json · Rebuilt by cve.day 2026-11-25T22:57:53.232Z
