CVE-2020-10378
Python vulnerability analysis and mitigation

Overview

CVE-2020-10378 is a security vulnerability discovered in Pillow (Python Imaging Library) versions before 7.1.0. The vulnerability was disclosed in March 2020 and affects the PCX image file format decoder. This vulnerability involves an out-of-bounds read condition that occurs when reading PCX files where state->shuffle is instructed to read beyond state->buffer (CVE Details).

Technical details

The vulnerability exists in the libImaging/PcxDecode.c component of Pillow and manifests as a bounds overflow condition during PCX file decoding. The CVSS v3.1 score for this vulnerability is 5.5 (Medium), with the following metrics: Attack Vector: Local, Attack Complexity: Low, Privileges Required: None, User Interaction: Required, Scope: Unchanged, Confidentiality: High, Integrity: None, Availability: None (Ubuntu).

Impact

If exploited, this vulnerability could allow an attacker to cause an out-of-bounds read when processing specially crafted PCX image files. This could potentially lead to information disclosure or application crashes, resulting in a denial of service condition (Ubuntu USN).

Exploitability

The vulnerability requires user interaction to open a specially crafted PCX file. An attacker would need to trick a user or automated system into processing a malicious PCX image to trigger the vulnerability (Ubuntu USN).

Mitigation and workarounds

The vulnerability was fixed in Pillow version 7.1.0. Various Linux distributions have also released security updates to address this issue: Ubuntu has released fixes for versions 20.04 LTS (7.0.0-4ubuntu0.1), 18.04 LTS (5.1.0-1ubuntu0.3), and 16.04 LTS (3.1.2-0ubuntu1.4). Fedora has released updates for version 31 (6.2.2-3.fc31) and 32 (7.0.0-4.fc32) (Ubuntu USN, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-84452HIGH8.6
  • Python logoPython
  • winml-cli
NoYesSep 02, 2026
CVE-2026-84381HIGH8.1
  • Python logoPython
  • httpcore2
NoYesSep 02, 2026
CVE-2026-84382HIGH7.5
  • Python logoPython
  • httpx2
NoYesSep 02, 2026
CVE-2026-84380MEDIUM5.6
  • Python logoPython
  • python-httpx2
NoYesSep 02, 2026
CVE-2026-53720MEDIUM5.1
  • Python logoPython
  • pymonocypher
NoYesSep 03, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management