cve.bz

CVE-2020-11538 Out-of-bounds Read

8.1 highEPSS 2.5%Fix available

High (8.1). EPSS 2.5% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 7.1.0.

On this page
In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
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-11538 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-11538?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-11538?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-11538 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
python:pillowthrough 7.0.0
fedoraproject:fedora31
fedoraproject:fedora32
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-43fq-w8qq-v88hPyPIpillow<7.1.07.1.0
PYSEC-2020-80PyPIpillow<7.1.07.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14pillow7.2.0-1DEBIAN-CVE-2020-11538
Ubuntu16.04:LTSpillow3.1.2-0ubuntu1.4USN-4430-1
Ubuntu18.04:LTSpillow5.1.0-1ubuntu0.3UBUNTU-CVE-2020-11538 USN-4430-1
Ubuntu20.04:LTSpillow7.0.0-4ubuntu0.1UBUNTU-CVE-2020-11538 USN-4430-2
UbuntuPro:20.04:LTSpillow-python2no fix listedUBUNTU-CVE-2020-11538
Red Hatenterprise_linux:8::appstreampython-pillow, python3-pillow, python-pillow-debuginfo and 3 more0:5.1.1-12.el8_2RHSA-2020:3185
Red Hatrhel_e4s:8.0::appstreampython-pillow, python3-pillow, python-pillow-debuginfo and 3 more0:5.1.1-11.el8_0RHSA-2020:3302
Red Hatrhel_eus:8.1::appstreampython-pillow, python3-pillow, python-pillow-debuginfo and 3 more0:5.1.1-11.el8_1RHSA-2020:3299
SUSEOpenStack Cloud 9ansible11.9.6-9.7.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-ansible9.0+git.1591138508.e269bdb-3.22.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-cobbler9.0+git.1588181228.bae3b1f-3.13.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-glance9.0+git.1593631708.9354a78-3.13.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-input-model9.0+git.1589740948.c24fc0b-3.19.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-logging9.0+git.1591193994.d93b668-3.13.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-manila9.0+git.1594158642.b5905e4-3.12.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-monasca9.0+git.1589385256.7fbfaaf-3.19.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-mq9.0+git.1593618110.cbd1a37-3.16.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-neutron9.0+git.1590756257.e09d54f-3.22.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-octavia9.0+git.1590079609.a2ae6ab-3.19.2SUSE-RU-2020:2161-1
SUSEOpenStack Cloud 9ardana-tempest9.0+git.1593033709.9495bb2-3.16.2SUSE-RU-2020:2161-1
52 more for SUSE in the JSON and on SUSE's page.
Rocky Linux8python-pillow0:5.1.1-12.el8_2RLSA-2020:3185

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; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue did not affect the versions of python-pillow and python-imaging as shipped with Red Hat Enterprise Linux 5, 6, and 7 as they did not include the SGI RLE image decoder, where the flaw lies.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8python-pillow-0:5.1.1-12.el8_2Fixed 2020-07-28RHSA-2020:3185
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutionspython-pillow-0:5.1.1-11.el8_0Fixed 2020-08-04RHSA-2020:3302
Red Hat Enterprise Linux 8.1 Extended Update Supportpython-pillow-0:5.1.1-11.el8_1Fixed 2020-08-04RHSA-2020:3299
Red Hat Quay 3quay/clair-rhel8:v3.4.0-25Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-bridge-operator-bundle:v3.4.0-3Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-bridge-operator-rhel8:v3.4.0-17Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-builder-qemu-rhcos-rhel8:v3.4.0-17Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-builder-rhel8:v3.4.0-18Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-container-security-operator-bundle:v3.4.0-2Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-container-security-operator-rhel8:v3.4.0-2Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-openshift-bridge-rhel8-operator:v3.4.0-17Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-operator-bundle:v3.4.0-89Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-operator-rhel8:v3.4.0-132Fixed 2021-02-04RHSA-2021:0420
Red Hat Quay 3quay/quay-rhel8:v3.4.0-51Fixed 2021-02-04RHSA-2021:0420
Red Hat Enterprise Linux 5python-imagingNot affected
Red Hat Enterprise Linux 6python-imagingNot affected
Red Hat Enterprise Linux 7python-pillowNot 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-11538.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON