Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2020-5311

33
FAUCET Score

CVE-2020-5311 is a critical buffer overflow vulnerability in libImaging/SgiRleDecode.c of Pillow versions prior to 6.2.2, affecting various distributions including Canonical, Debian, Fedora, and Python. With a CVSS score of 9.8, it allows for unauthenticated, low-complexity network attacks leading to complete compromise of confidentiality, integrity, and availability. While there is no evidence of active exploitation, nor publicly available exploit code in Metasploit or ExploitDB, the vulnerability has garnered significant community discussion with 10 mentions.

Impacted Technologies

VendorProductVersion(s)CPE
< 6.2.2CPE matchmatch criteria
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
18.04CPE matchmatch criteria
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:*:*:*:*
19.10CPE matchmatch criteria
cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

9.8CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
4.21%
Probability of exploitation in next 30 days
EPSS Percentile
89.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0421 is in the 83rd percentile among its peer group of 36,897 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (15)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: pillowFixed in: 6.2.2
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: python-pillow-0:5.1.1-10.el8_1
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.0 Update Services for SAP SolutionsFixed in: python-pillow-0:5.1.1-10.el8_0
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/clair-rhel8:v3.4.0-25
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-bridge-operator-bundle:v3.4.0-3
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-bridge-operator-rhel8:v3.4.0-17
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-builder-qemu-rhcos-rhel8:v3.4.0-17
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-builder-rhel8:v3.4.0-18
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-container-security-operator-bundle:v3.4.0-2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-container-security-operator-rhel8:v3.4.0-2
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-openshift-bridge-rhel8-operator:v3.4.0-17
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-operator-bundle:v3.4.0-89
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-operator-rhel8:v3.4.0-132
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-rhel8:v3.4.0-51
View patch

Vendor Advisories (2)

pipGHSA-r7rm-8j6h-r933critical

Buffer Copy without Checking Size of Input in Pillow

May 24, 2022
redhatCVE-2020-5311Important

python-pillow: out-of-bounds write in expandrow in libImaging/SgiRleDecode.c

Jan 3, 2020

References

access.redhat.com / errata/RHSA-2020:0566
Third Party Advisory
access.redhat.com / errata/RHSA-2020:0580
Third Party Advisory
github.com / python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
PatchThird Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P
pillow.readthedocs.io / en/stable/releasenotes/6.2.2.html
Release NotesThird Party Advisory
usn.ubuntu.com / 4272-1
Third Party Advisory
debian.org / security/2020/dsa-4631
Third Party Advisory