python-pillow: integer overflow in the ImagingResampleHorizontal function
Published Apr 13, 2016
9.3
CRITICALCVSS 4.0
EPSS 7.87%
Description
Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.
Affected products
No data.
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
Not affected
| 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 | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:C/I:C/A:C
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 (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.87% (0.07871) | 94.53th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.87% (0.07871) | 93.93th | v5 (v2026.06.15) |
| Mar 4, 2026 | 5.26% (0.05263) | 89.79th | v4 (v2025.03.14) |
| Mar 1, 2026 | 3.50% (0.03498) | 87.42th | v4 (v2025.03.14) |
| Feb 15, 2026 | 5.26% (0.05263) | 89.75th | v4 (v2025.03.14) |
| Jul 25, 2025 | 3.50% (0.03498) | 87.09th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.34% (0.01339) | 78.19th | v4 (v2025.03.14) |
| Mar 29, 2025 | 5.25% (0.05251) | 82.93th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.34% (0.01339) | 78.66th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.48% (0.01483) | 87.34th | v3 (v2023.03.01) |
| May 17, 2024 | 1.48% (0.01483) | 86.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.48% (0.01483) | 84.75th | 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 (11)
- http://www.securityfocus.com/bid/86064 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2016-4009 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1327134 Issue Tracking
- https://github.com/advisories/GHSA-hvr8-466p-75rh Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst x_refsource_CONFIRMPatchVendor Advisory
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e x_refsource_CONFIRMPatch
- https://github.com/python-pillow/Pillow/pull/1714 x_refsource_CONFIRMPatch
- https://nvd.nist.gov/vuln/detail/CVE-2016-4009
- https://security.gentoo.org/glsa/201612-52 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-4009
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/86064 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2016-4009 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1327134 | Issue Tracking | |
| https://github.com/advisories/GHSA-hvr8-466p-75rh | Advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml | ||
| https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst | x_refsource_CONFIRMPatchVendor Advisory | |
| https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e | x_refsource_CONFIRMPatch | |
| https://github.com/python-pillow/Pillow/pull/1714 | x_refsource_CONFIRMPatch | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-4009 | ||
| https://security.gentoo.org/glsa/201612-52 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2016-4009 |
Change history (0)
No recorded changes yet.