Live threats

All CVEs / Python

CVE-2019-16865Python Pillow

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
3.1%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Oct 4, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pillow < 6.2.0 6.2.0 pip install "pillow>=6.2.0"
PyPI pillow < 6.2.0 6.2.0 pip install "pillow>=6.2.0"

Per OSV / GitHub Advisories (GHSA-j7mj-748x-7p78, PYSEC-2019-110). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow< 6.2.0
fedoraprojectfedora30
fedoraprojectfedora31

Official sources

References

Links published by the sources. Open them with care.