CVE-2019-16865Python Pillow
High 7.5 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Pillow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | < 6.2.0 |
| fedoraproject | fedora | 30 |
| fedoraproject | fedora | 31 |
Official sources
References
Links published by the sources. Open them with care.