cve.bz

CVE-2020-15503 Improper Input Validation

7.5 highEPSS 3.3%Fix available

High (7.5). EPSS 3.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
3.3% (unchanged from 3.3% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-15503 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15503?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15503?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-15503 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libraw:librawthrough 0.19.5
libraw:libraw0.20:beta1
libraw:libraw0.20:beta2
libraw:libraw0.20:beta3
fedoraproject:fedora31
fedoraproject:fedora32
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libraw0.19.2-2+deb10u2DLA-3214-1
Debian12, 13, 14libraw0.20.0-4DEBIAN-CVE-2020-15503
Ubuntu16.04:LTS, 18.04:LTSkodi, dcraw, ufraw and 3 moreno fix listedUBUNTU-CVE-2020-15503
Ubuntu18.04:LTSlibraw0.18.8-1ubuntu0.4UBUNTU-CVE-2020-15503 USN-5715-1
Ubuntu20.04:LTSlibraw0.19.5-1ubuntu1.1UBUNTU-CVE-2020-15503 USN-5715-1
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morekodi, dcraw, darktable and 2 moreno fix listedUBUNTU-CVE-2020-15503
UbuntuPro:16.04:LTSlibrawno fix listedUBUNTU-CVE-2020-15503
Red Hatenterprise_linux:8::appstreamLibRaw, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.19.5-2.el8RHSA-2020:4451
Red Hatenterprise_linux:8::appstreamgnome-settings-daemon, gnome-settings-daemon-debuginfo, gnome-settings-daemon-debugsource0:3.32.0-11.el8RHSA-2020:4451
Red Hatenterprise_linux:8::appstreamwebkit2gtk3, webkit2gtk3-jsc, webkit2gtk3-devel and 6 more0:2.28.4-1.el8RHSA-2020:4451
Red Hatenterprise_linux:8::crbLibRaw-devel, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.19.5-2.el8RHSA-2020:4451
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5libraw0.15.4-33.1SUSE-SU-2020:2028-1
SUSELinux Enterprise Workstation Extension 15 SP1, Linux Enterprise Workstation Extension 15 SP2libraw0.18.9-3.11.1SUSE-SU-2020:2029-1
openSUSELeap 15.1libraw0.18.9-lp151.4.3.1openSUSE-SU-2020:1088-1
openSUSELeap 15.2libraw0.18.9-lp152.5.3.1openSUSE-SU-2020:1128-1
openSUSETumbleweedlibraw0.20.2-4.1openSUSE-SU-2024:10980-1
AlmaLinux8LibRaw-devel0.19.5-2.el8ALSA-2020:4451
AlmaLinux8PackageKit, PackageKit-cron, PackageKit-glib and 4 more1.1.12-6.el8ALSA-2020:4451
AlmaLinux8dleyna-renderer0.6.0-3.el8ALSA-2020:4451
AlmaLinux8frei0r-devel, frei0r-plugins, frei0r-plugins-opencv1.6.1-7.el8ALSA-2020:4451
AlmaLinux8gnome-remote-desktop0.1.8-3.el8ALSA-2020:4451
AlmaLinux8gtk-doc1.28-2.el8ALSA-2020:4451
AlmaLinux8gvfs1.36.2-10.el8ALSA-2020:4451
AlmaLinux8libsoup, libsoup-devel2.62.3-2.el8ALSA-2020:4451
AlmaLinux8mutter-devel3.32.2-48.el8ALSA-2020:4451
AlmaLinux8nautilus, nautilus-devel3.28.1-14.el8ALSA-2020:4451
AlmaLinux8pipewire, pipewire-doc, pipewire-libs and 2 more0.3.6-1.el8ALSA-2020:4451
AlmaLinux8pipewire0.2-libs, pipewire0.2-devel0.2.7-6.el8ALSA-2020:4451
6 more for AlmaLinux in the JSON.
Rocky Linux8LibRaw0:0.19.5-2.el8RLSA-2020:4451
Rocky Linux8PackageKit0:1.1.12-6.el8RLSA-2020:4451
Rocky Linux8PackageKit0:1.1.12-6.el8.0.2RLSA-2020:4451
Rocky Linux8dleyna-renderer0:0.6.0-3.el8RLSA-2020:4451
Rocky Linux8frei0r-plugins0:1.6.1-7.el8RLSA-2020:4451
Rocky Linux8gnome-remote-desktop0:0.1.8-3.el8RLSA-2020:4451
Rocky Linux8gnome-session0:3.28.1-10.el8RLSA-2020:4451
Rocky Linux8gsettings-desktop-schemas0:3.32.0-5.el8RLSA-2020:4451
Rocky Linux8gtk30:3.22.30-6.el8RLSA-2020:4451
Rocky Linux8libsoup0:2.62.3-2.el8RLSA-2020:4451
Rocky Linux8pipewire0:0.3.6-1.el8RLSA-2020:4451
Rocky Linux8pipewire0.20:0.2.7-6.el8RLSA-2020:4451
6 more for Rocky Linux in the JSON.
Alpinev3.12, v3.13, v3.14 and 10 morelibraw0.19.5-r1ALPINE-CVE-2020-15503
Azure Linux3LibRaw0.19.5-5AZL-44688

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

While the vulnerable code exists in versions of LibRaw shipped with Red Hat Enterprise Linux 7 and 8, LibRaw is not used in services which accept data directly from a network, reducing impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8LibRaw-0:0.19.5-2.el8Fixed 2020-11-04RHSA-2020:4451
Red Hat Enterprise Linux 6dcrawNot affected
Red Hat Enterprise Linux 7dcrawNot affected
Red Hat Enterprise Linux 7libkdcrawNot affected
Red Hat Enterprise Linux 7LibRawFix deferred
Red Hat Enterprise Linux 8dcrawNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-15503.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON