Pillow up to 8.1.0 Image memory allocation

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.
5.4$0-$5k0.00

Summaryinfo

A vulnerability was found in Pillow up to 8.1.0. It has been classified as problematic. Affected is an unknown function of the component Image Handler. The manipulation leads to memory allocation. This vulnerability is traded as CVE-2021-27922. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Pillow up to 8.1.0 and classified as problematic. This issue affects an unknown code block of the component Image Handler. The manipulation with an unknown input leads to a memory allocation vulnerability. Using CWE to declare the problem leads to CWE-789. The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. Impacted is availability.

The weakness was shared 03/04/2021. The advisory is shared at pillow.readthedocs.io. The identification of this vulnerability is CVE-2021-27922. Neither technical details nor an exploit are publicly 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: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
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: Memory allocation
CWE: CWE-789 / CWE-400 / CWE-404
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

03/03/2021 🔍
03/04/2021 +1 days 🔍
03/04/2021 +0 days 🔍
03/31/2026 +1853 days 🔍

Sourcesinfo

Advisory: pillow.readthedocs.io
Status: Confirmed

CVE: CVE-2021-27922 (🔍)
GCVE (CVE): GCVE-0-2021-27922
GCVE (VulDB): GCVE-100-170609
CERT Bund: WID-SEC-2022-1835 - Red Hat Enterprise Linux (python-pillow): Mehrere Schwachstellen

Entryinfo

Created: 03/04/2021 06:51
Updated: 03/31/2026 20:30
Changes: 03/04/2021 06:51 (38), 03/06/2021 13:50 (5), 03/14/2021 13:22 (18), 05/18/2025 20:31 (17), 08/15/2025 08:11 (1), 03/31/2026 20:30 (7)
Complete: 🔍
Cache ID: 216:A28: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.

Do you want to use VulDB in your project?

Use the official API to access entries easily!