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-2019-16865

python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service

Overview

Published
4 Oct 2019
Modified
17 Jun 2026
High CVE
1 Registry packages
8 OS packages
5 Linux distributions
Yes Fix available

Description

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

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

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

Weakness: CWE-770

Affected packages · 1

Packages affected by CVE-2019-16865
EcosystemPackageVulnerableFixed in
PyPI pillow <6.2.0 6.2.0

Open a package to see all its vulnerabilities.

Operating systems · 14 fixes

Oracle Linux 2 releases · 2 packages

fixed 2
python-pillow python3-pillow
Oracle Linux fixes for CVE-2019-16865
ReleasePackageFixed in
7 python-pillow +5 2.0.0-20.gitd1c6db8.el7_7
8 python3-pillow 5.1.1-10.el8_1

Red Hat 2 releases · 2 packages

fixed 3
python-pillow python3-pillow
Red Hat fixes for CVE-2019-16865
ReleasePackageFixed inAdvisory
7 python-pillow +5 0:2.0.0-20.gitd1c6db8.el7_7 RHSA-2020:0578
8 python3-pillow 0:5.1.1-10.el8_0 RHSA-2020:0566
8 python3-pillow 0:5.1.1-10.el8_1 RHSA-2020:0580

debian 6 releases · 1 package

fixed 5 affected 1
pillow
debian fixes for CVE-2019-16865
ReleasePackageFixed in
10 pillow 5.4.1-2+deb10u1
11 pillow 6.2.0-1
12 pillow 6.2.0-1
13 pillow 6.2.0-1
14 pillow 6.2.0-1
9 pillow affected

echo 1 release · 1 package

fixed 1
pillow
echo fixes for CVE-2019-16865
ReleasePackageFixed in
pillow 6.2.0-1

ubuntu 2 releases · 1 package

fixed 2
pillow
ubuntu fixes for CVE-2019-16865
ReleasePackageFixed in
18.04 pillow 5.1.0-1ubuntu0.2
18.04-ESM pillow 5.1.0-1ubuntu0.2

References

Show all 25 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.