python-pillow: Integer overflow resulting in buffer overflow when reading invalid tiff file
Published Apr 13, 2016
6.9
MEDIUMCVSS 4.0
EPSS 2.56%
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.
Affected products
No data.
Configuration 2
- 7.0
- 8.0
No data.
Red Hat Enterprise Linux 5
python-imaging
Not affected
Red Hat Enterprise Linux 6
python-imaging
Not affected
Red Hat Enterprise Linux 7
python-pillow
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | python-imaging | Not affected | n/a |
| Red Hat Enterprise Linux 6 | python-imaging | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python-pillow | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.56% (0.02563) | 84.56th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.36% (0.02360) | 81.50th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.40% (0.00399) | 58.55th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.44% (0.00443) | 75.72th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.44% (0.00443) | 74.15th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.44% (0.00443) | 70.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.21% (0.01213) | 66.61th | v2 (v2022.01.01) |
| Feb 17, 2023 | 1.21% (0.01213) | 66.22th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.21% (0.01213) | 64.21th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.21% (0.01213) | 40.54th | v2 (v2022.01.01) |
References (10)
- http://www.debian.org/security/2016/dsa-3499 vendor-advisoryx_refsource_DEBIAN
- https://access.redhat.com/security/cve/CVE-2016-0740 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1298874 Issue Tracking
- https://github.com/advisories/GHSA-hggx-3h72-49ww Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-5.yaml
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst x_refsource_CONFIRMPatchVendor Advisory
- https://github.com/python-pillow/Pillow/commit/6dcbf5bd96b717c58d7b642949da8d323099928e x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-0740
- https://security.gentoo.org/glsa/201612-52 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-0740
| Link | Providers | Tags |
|---|---|---|
| http://www.debian.org/security/2016/dsa-3499 | vendor-advisoryx_refsource_DEBIAN | |
| https://access.redhat.com/security/cve/CVE-2016-0740 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1298874 | Issue Tracking | |
| https://github.com/advisories/GHSA-hggx-3h72-49ww | Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-5.yaml | ||
| https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst | x_refsource_CONFIRMPatchVendor Advisory | |
| https://github.com/python-pillow/Pillow/commit/6dcbf5bd96b717c58d7b642949da8d323099928e | x_refsource_CONFIRM | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-0740 | ||
| https://security.gentoo.org/glsa/201612-52 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2016-0740 |
Change history (0)
No recorded changes yet.