CVE-2020-15503 json
LibRaw before 0.20-RC1 lacks a thumbnail size range check.
published 6y ago modified 4mo ago also EUVD-2020-7495
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.3%
- EPSS 3.3% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libraw Debian 14, Debian 13, Debian 12 0.20.0-4
debian advisories DEBIAN-CVE-2020-15503
- libraw Ubuntu 18.04 LTS 0.18.8-1ubuntu0.4
- libraw Ubuntu 20.04 LTS 0.19.5-1ubuntu1.1
ubuntu advisories UBUNTU-CVE-2020-15503
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- LibRaw RHEL 8 0.19.5-2.el8
- webkit2gtk3 RHEL 8 2.28.4-1.el8
- webkit2gtk3-jsc RHEL 8 2.28.4-1.el8
- gnome-settings-daemon RHEL 8 3.32.0-11.el8
red hat advisories RHSA-2020:4451
- libraw SLE Workstation Extension 15 SP2, SLE Workstation Extension 15 SP1 0.18.9-3.11.1
- libraw SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 0.15.4-33.1
suse advisories SUSE-SU-2020:2029-1SUSE-SU-2020:2028-1
- libraw openSUSE Tumbleweed 0.20.2-4.1
- libraw openSUSE Leap 15.2 0.18.9-lp152.5.3.1
- libraw openSUSE Leap 15.1 0.18.9-lp151.4.3.1
opensuse advisories openSUSE-SU-2024:10980-1openSUSE-SU-2020:1128-1openSUSE-SU-2020:1088-1
- gvfs AlmaLinux 8 1.36.2-10.el8
- vte291 AlmaLinux 8 0.52.4-2.el8
- libsoup AlmaLinux 8 2.62.3-2.el8
- potrace AlmaLinux 8 1.15-3.el8
- tracker AlmaLinux 8 2.1.5-2.el8
- nautilus AlmaLinux 8 3.28.1-14.el8
- pipewire AlmaLinux 8 0.3.6-1.el8
- PackageKit AlmaLinux 8 1.1.12-6.el8
almalinux advisories ALSA-2020:4451
- gtk3 Rocky Linux 8 3.22.30-6.el8
- LibRaw Rocky Linux 8 0.19.5-2.el8
- vte291 Rocky Linux 8 0.52.4-2.el8
- libsoup Rocky Linux 8 2.62.3-2.el8
- potrace Rocky Linux 8 1.15-3.el8
- tracker Rocky Linux 8 2.1.5-2.el8
- pipewire Rocky Linux 8 0.3.6-1.el8
- PackageKit Rocky Linux 8 1.1.12-6.el8
rocky linux advisories RLSA-2020:4451
- libraw Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 0.19.5-r1
alpine advisories ALPINE-CVE-2020-15503
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2020-15503 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-15503 updated cvss 4.0
LibRaw: lack of thumbnail size range check can lead to buffer overflow
-
Red Hat Enterprise Linux 7 LibRawaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder (v. 8) LibRaw-devel 0.19.5-2.el8, LibRaw-debuginfo 0.19.5-2.el8, LibRaw-debugsource 0.19.5-2.el8, LibRaw-samples-debuginfo 0.19.5-2.el8 Red Hat Enterprise Linux AppStream (v. 8) LibRaw 0.19.5-2.el8fixed: vendor fix RHSA-2020:4451
-
Red Hat CodeReady Linux Builder (v. 8) gvfs 1.36.2-10.el8, nautilus 3.28.1-14.el8, frei0r-plugins 1.6.1-7.el8 Red Hat Enterprise Linux 6 dcraw Red Hat Enterprise Linux 7 dcraw, libkdcraw Red Hat Enterprise Linux 8 dcraw Red Hat Enterprise Linux AppStream (v. 8) gdm 3.28.3-34.el8, gtk3 3.22.30-6.el8, gvfs 1.36.2-10.el8, potrace 1.15-3.el8, tracker 2.1.5-2.el8, vte291 0.52.4-2.el8, +73 more Red Hat Enterprise Linux BaseOS (v. 8) libsoup 2.62.3-2.el8, pygobject3 3.28.3-2.el8, python3-gobject-base 3.28.3-2.el8, gsettings-desktop-schemas 3.32.0-5.el8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.30% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/LibRaw/LibRaw/commit/20ad21c0d87ca80217aee47533d91e633ce1864d
patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DNGDWTO45TU4KGND75EUUEGUMNSOYC7H/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CSXAJKZ4VNDYVQULJNY4XDPWHIJDTB4P/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/QCVKD7PTO7UQAVUTBHJAKBKYLPQQGAMZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/7HM2DS6HA4YZREI3BYGS75M6D76WMW62/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-07/msg00075.html
vendor-advisory, broken-link, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00001.html
vendor-advisory, broken-link, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/Y34ALB34P3NGQXLF7BG7R6DGRX6XL2JN/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YZETDVPZQWZWVGIG6JTIEKP5KPVMUE7Y/
vendor-advisory
-
libraw.org
/news/libraw-0-20-rc1
broken-link, third-party-advisory
-
github.com
/LibRaw/LibRaw/compare/0.20-Beta3...0.20-RC1
release-notes, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/11/msg00042.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-15503
- NVD CVE-2020-15503
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.