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.

Published: 2020-07-02 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2020-15503 is rated Moderate Risk (61/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.67%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2020-15503

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-18 3.56% 3.67% +0.12%
2 2026-06-15 3.21% 3.56% +0.35%
3 2026-05-27 3.21%

Full EPSS history (24 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2020-15503

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2020-15503

OS Trackers for CVE-2020-15503

vendor priority summary link
alpine high CVE-2020-15503: 1 source package rows (libraw); 13 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 6. https://security.alpinelinux.org/vuln/CVE-2020-15503
debian not yet assigned CVE-2020-15503 not yet assigned priority: Debian including 1 source packages (libraw), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2020-15503
redhat medium https://access.redhat.com/security/cve/CVE-2020-15503
suse medium CVE-2020-15503 severity moderate: SUSE including 115 source package names (LibRaw-0.19.5-2.el8, PackageKit-1.1.12-6.el8, …), 126 product×package rows across 21 product lines (SUSE Liberty Linux 8, SUSE Linux Enterprise Module for Desktop Applications 15 SP4, … (21 product lines)): Fixed 126. https://www.suse.com/security/cve/CVE-2020-15503/
ubuntu low CVE-2020-15503 low priority: Ubuntu including 8 source packages (darktable, dcraw, …), 136 status rows across 17 suites (bionic, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 67, DNE 36, needs-triage 23, not-affected 8, released 2. https://ubuntu.com/security/CVE-2020-15503

Affected software / configurations for CVE-2020-15503

Vendor Product Version Raw CPE
libraw libraw <= 0.19.5 cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*
libraw libraw 0.20 cpe:2.3:a:libraw:libraw:0.20:beta1:*:*:*:*:*:*
libraw libraw 0.20 cpe:2.3:a:libraw:libraw:0.20:beta2:*:*:*:*:*:*
libraw libraw 0.20 cpe:2.3:a:libraw:libraw:0.20:beta3:*:*:*:*:*:*
fedoraproject fedora 31 cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2020-15503

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00075.html Broken Link Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00001.html Broken Link Mailing List Third Party Advisory
https://github.com/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d Patch Third Party Advisory
https://github.com/LibRaw/LibRaw/compare/0.20-Beta3...0.20-RC1 Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00042.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7HM2DS6HA4YZREI3BYGS75M6D76WMW62/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CSXAJKZ4VNDYVQULJNY4XDPWHIJDTB4P/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DNGDWTO45TU4KGND75EUUEGUMNSOYC7H/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QCVKD7PTO7UQAVUTBHJAKBKYLPQQGAMZ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y34ALB34P3NGQXLF7BG7R6DGRX6XL2JN/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZETDVPZQWZWVGIG6JTIEKP5KPVMUE7Y/
https://www.libraw.org/news/libraw-0-20-rc1 Broken Link Third Party Advisory
cvelogic Threat Intelligence