Pillow up to 8.x PIL.ImageMath.eval information disclosure

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.

A vulnerability, which was classified as problematic, was found in Pillow up to 8.x. Affected is the function PIL.ImageMath.eval. The manipulation with an unknown input leads to a information disclosure vulnerability. CWE is classifying the issue as CWE-200. This is going to have an impact on confidentiality. CVE summarizes:

PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method.

The weakness was published 01/10/2022. The advisory is shared for download at pillow.readthedocs.io. This vulnerability is traded as CVE-2022-22817 since 01/07/2022. The attack needs to approached within the local network. The successful exploitation requires a authentication. There are known technical details, but no exploit is available.

Upgrading to version 9.0.0 eliminates this vulnerability. The upgrade is hosted for download at pillow.readthedocs.io.



CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 3.5
VulDB Meta Temp Score: 3.4

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔒
VulDB Reliability: 🔍



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


Class: Information disclosure
CWE: CWE-200
ATT&CK: Unknown

Local: No
Remote: Partially

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒


Threat Intelligenceinfoedit

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


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Pillow 9.0.0


01/07/2022 CVE reserved
01/10/2022 +3 days Advisory disclosed
01/10/2022 +0 days VulDB entry created
01/12/2022 +2 days VulDB last update


Advisory: pillow.readthedocs.io
Status: Confirmed

CVE: CVE-2022-22817 (🔒)


Created: 01/10/2022 04:51 PM
Updated: 01/12/2022 08:15 AM
Changes: (1) source_cve_nvd_summary
Complete: 🔍


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!