CVE-2016-0740Python Pillow
Medium 6.5 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Apr 13, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.
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 |
< 3.1.1 |
3.1.1 |
pip install "pillow>=3.1.1" |
| PyPI | pillow |
< 3.1.1 |
3.1.1 |
pip install "pillow>=3.1.1" |
Per OSV / GitHub Advisories (GHSA-hggx-3h72-49ww, PYSEC-2016-5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | ≤ 3.1.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.debian.org
- github.com Patch Vendor Advisory
- github.com
- security.gentoo.org