CVE-2016-0740
python-pillow: Integer overflow resulting in buffer overflow when reading invalid tiff file
Overview
Description
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness: CWE-119
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | pillow | <3.1.1 | 3.1.1 |
Open a package to see all its vulnerabilities.
Operating systems · 11 fixes
Red Hat 1 release · 1 package
wont fix 1
python-pillow
| Release | Package | Fixed in |
|---|---|---|
| 7 | python-pillow +5 | wont fix |
debian 4 releases · 1 package
fixed 4
pillow
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | 3.1.1-1 |
| 12 | pillow | 3.1.1-1 |
| 13 | pillow | 3.1.1-1 |
| 14 | pillow | 3.1.1-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 3.1.1-1 |
openSUSE 1 release · 5 packages
fixed 5
python310-pillow
python313-pillow
python-pillow
python3-pillow
python36-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python310-pillow +5 | 10.3.0-1.1 | openSUSE-SU-2024:13827-1 |
| Tumbleweed | python313-pillow +3 | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| Tumbleweed | python-pillow +1 | 3.1.1-4.1 | openSUSE-SU-2024:10567-1 |
| Tumbleweed | python3-pillow +1 | 3.4.2-1.1 | openSUSE-SU-2024:10511-1 |
| Tumbleweed | python36-pillow +5 | 8.3.2-1.2 | openSUSE-SU-2024:11209-1 |
References
- www.debian.org http://www.debian.org/security/2016/dsa-3499
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-0740
- github.com https://github.com/advisories/GHSA-hggx-3h72-49ww
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-5.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
- github.com https://github.com/python-pillow/Pillow/commit/6dcbf5bd96b717c58d7b642949da8d323099928e
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-0740
- security.gentoo.org https://security.gentoo.org/glsa/201612-52
- ubuntu.com https://ubuntu.com/security/notices/USN-3090-1
Show all 11 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.