Pillow up to 8.1.0 Offset TiffDecode.c memcpy out-of-bounds write
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in Pillow up to 8.1.0. Impacted is the function memcpy of the file TiffDecode.c of the component Offset Handler. The manipulation leads to an unknown weakness.
This vulnerability is listed as CVE-2021-25290. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Pillow up to 8.1.0 and classified as problematic. This issue affects the function memcpy of the file TiffDecode.c of the component Offset Handler. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. The impact remains unknown.
The weakness was presented 03/19/2021. The advisory is shared at pillow.readthedocs.io. The identification of this vulnerability is CVE-2021-25290. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 236661 (Alibaba Cloud Linux 3 : 0012: python-pillow (ALINUX3-SA-2022:0012)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 8.1.1 eliminates this vulnerability. The upgrade is hosted for download at pillow.readthedocs.io.
The vulnerability is also documented in the databases at Tenable (236661) and CERT Bund (WID-SEC-2022-1835). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Amazon Linux 2
- Ubuntu Linux
- SUSE Linux
- Red Hat Enterprise Linux
- Open Source Python
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Out-of-bounds writeCWE: CWE-787 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236661
Nessus Name: Alibaba Cloud Linux 3 : 0012: python-pillow (ALINUX3-SA-2022:0012)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Pillow 8.1.1
Timeline
01/17/2021 🔍03/19/2021 🔍
03/19/2021 🔍
03/31/2026 🔍
Sources
Advisory: pillow.readthedocs.ioStatus: Confirmed
CVE: CVE-2021-25290 (🔍)
GCVE (CVE): GCVE-0-2021-25290
GCVE (VulDB): GCVE-100-171473
CERT Bund: WID-SEC-2022-1835 - Red Hat Enterprise Linux (python-pillow): Mehrere Schwachstellen
Entry
Created: 03/19/2021 11:45Updated: 03/31/2026 20:30
Changes: 03/19/2021 11:45 (38), 04/03/2021 01:52 (5), 04/03/2021 01:55 (19), 05/18/2025 20:08 (17), 03/31/2026 20:30 (7)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.