Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-5310

python-pillow: Integer overflow leading to buffer overflow in ImagingLibTiffDecode

Overview

Published
3 Jan 2020
Modified
17 Jun 2026
High CVE
2 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

Description

libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc.

Source: OX vulnerability database

Severity

8.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-190

Affected packages · 2

Packages affected by CVE-2020-5310
EcosystemPackageVulnerableFixed in
Bitnami pillow <6.2.2 6.2.2
PyPI pillow <6.2.2 6.2.2

Open a package to see all its vulnerabilities.

Operating systems · 9 fixes

alpine 4 releases · 1 package

fixed 4
py3-pillow
alpine fixes for CVE-2020-5310
ReleasePackageFixed in
3.22 py3-pillow 6.2.2-r0
3.23 py3-pillow 6.2.2-r0
3.24 py3-pillow 6.2.2-r0
edge py3-pillow 6.2.2-r0

debian 4 releases · 1 package

fixed 4
pillow
debian fixes for CVE-2020-5310
ReleasePackageFixed in
11 pillow 7.0.0-1
12 pillow 7.0.0-1
13 pillow 7.0.0-1
14 pillow 7.0.0-1

echo 1 release · 1 package

fixed 1
pillow
echo fixes for CVE-2020-5310
ReleasePackageFixed in
pillow 7.0.0-1

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.