Pillow up to 6.2.1 FLI libImaging/FliDecode.c buffer overflow

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

Summaryinfo

A vulnerability identified as critical has been detected in Pillow up to 6.2.1. Impacted is an unknown function of the file libImaging/FliDecode.c of the component FLI. The manipulation leads to buffer overflow. This vulnerability is documented as CVE-2020-5313. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Pillow up to 6.2.1. This issue affects some unknown functionality of the file libImaging/FliDecode.c of the component FLI. The manipulation with an unknown input leads to a buffer overflow vulnerability. Using CWE to declare the problem leads to CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.

The weakness was released 01/03/2020. The identification of this vulnerability is CVE-2020-5313 since 01/03/2020. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. 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 6.2.2 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (236661). Entries connected to this vulnerability are available at VDB-148240, VDB-148239 and VDB-148238. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.4

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Buffer overflow
CWE: CWE-120 / 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 6.2.2
Patch: github.com

Timelineinfo

01/03/2020 🔍
01/03/2020 +0 days 🔍
01/03/2020 +0 days 🔍
05/18/2025 +1962 days 🔍

Sourcesinfo

Advisory: a09acd0decd8a87ccce939d5ff65dab59e7d365b
Status: Confirmed

CVE: CVE-2020-5313 (🔍)
GCVE (CVE): GCVE-0-2020-5313
GCVE (VulDB): GCVE-100-148241
See also: 🔍

Entryinfo

Created: 01/03/2020 11:07
Updated: 05/18/2025 20:08
Changes: 01/03/2020 11:07 (38), 01/03/2020 11:12 (17), 03/19/2024 10:43 (20), 03/19/2024 10:48 (1), 05/18/2025 20:08 (4)
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.

Do you want to use VulDB in your project?

Use the official API to access entries easily!