🛡️ CVE-2021-34552 — pillow

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

Description

Buffer Overflow in Pillow

Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.

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-2021-34552 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-2021-34552 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

lists.debian.org (Web)
lists.fedoraproject.org (Web)
lists.fedoraproject.org (Web)
pillow.readthedocs.io (Web)
pillow.readthedocs.io (Web)
security.gentoo.org (Web)
nvd.nist.gov (Web)

CVE-2021-34552 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

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-2021-34552 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-2021-34552 →

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.