CVE-2021-25290Out-of-bounds Write in Pillow

Severity
7.5HIGHNVD
OSV9.8OSV9.1
EPSS
0.1%
top 65.42%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 19
Latest updateMar 31

Description

An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages5 packages

NVDpython/pillow< 8.1.1
PyPIpython/pillow< 8.1.1
Debianpython/pillow< 8.1.1-1+3
Ubuntupython/pillow< 3.1.2-0ubuntu1.6+5
Palo Altopaloalto/pan-os

Also affects: Debian Linux 9.0

🔴Vulnerability Details

6
OSV
pillow vulnerabilities2026-03-31
OSV
Out-of-bounds Write in Pillow2021-03-29
GHSA
Out-of-bounds Write in Pillow2021-03-29
CVEList
CVE-2021-25290: An issue was discovered in Pillow before 82021-03-19
OSV
CVE-2021-25290: An issue was discovered in Pillow before 82021-03-19

📋Vendor Advisories

5
Ubuntu
Pillow vulnerabilities2026-03-31
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS2024-02-14
Ubuntu
Pillow vulnerabilities2021-03-11
Red Hat
python-pillow: Negative-offset memcpy in TIFF image reader2021-02-28
Debian
CVE-2021-25290: pillow - An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a nega...2021
CVE-2021-25290 — Out-of-bounds Write in Python Pillow | cvebase