🛡️ CVE-2020-5311 — pillow

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-120 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Buffer Copy without Checking Size of Input in Pillow

libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2020-5311 is classified as CWE-120: Classic Buffer Overflow. Input is copied into a fixed-size buffer without a length check, overwriting memory past the end of it.

Affected software

CVE-2020-5311 is recorded against 1 package.

  • pillow

Timeline and source

Published on 6 March 2024 and last revised on 3 April 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

access.redhat.com (Web)
access.redhat.com (Web)
github.com (Web)
lists.fedoraproject.org (Web)
lists.fedoraproject.org (Web)
pillow.readthedocs.io (Web)
usn.ubuntu.com (Web)
www.debian.org (Web)
nvd.nist.gov (Web)

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CWE CWE-120
Public Exploit ✅ No
Source OSV
Published 2024-03-06
Updated 2026-08-12
Modified 2025-04-03
Fix URL N/A

Affected Packages

Software From version Fixed in
pillow

Exploit Protection

Are you running pillow?

CVE-2020-5311 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2020-5311 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.