Skip to content
Fencer Vulns
high 7.5

CVE-2020-15503 json

LibRaw before 0.20-RC1 lacks a thumbnail size range check.

published 2020-07-02 6 y ago modified 2026-06-17 4 mo 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

  • LibRaw Azure Linux 3.0 0.19.5-5

azure linux advisories AZL-44688

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor 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 LibRaw
    affected: 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.el8
    fixed: 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.el8
    not 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-08).

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

Sources

Fencer Vulns 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.