Pillow up to 8.1.0 Offset TiffDecode.c memcpy out-of-bounds write

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236661
Nessus Name: Alibaba Cloud Linux 3 : 0012: python-pillow (ALINUX3-SA-2022:0012)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Pillow 8.1.1

Timelineinfo

01/17/2021 🔍
03/19/2021 +61 days 🔍
03/19/2021 +0 days 🔍
03/31/2026 +1838 days 🔍

Sourcesinfo

Advisory: pillow.readthedocs.io
Status: 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

Entryinfo

Created: 03/19/2021 11:45
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!