Buffer overflow in Python Pillow
CVE-2021-25290
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.024, 84.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (asa1997/topgear_test, nnrogers515/discord-coderbot, Yvillia/discord-coderbot). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html (Release Notes, Vendor Advisory)
- GLSA-202107-33 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2716-1] pillow security update (mailing-list, Mailing List, Third Party Advisory)