CVE-2016-4009
critical
CVSS v3
9.8
CVSS v4 NEW
โ
VIR risk
9.8
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.
Predictions
Exploit likelihood
97%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.1.1-1 |
| sid | Fixed | 3.1.1-1 |
| forky | Fixed | 3.1.1-1 |
| bullseye | Fixed | 3.1.1-1 |
| bookworm | Fixed | 3.1.1-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| python | pillow | {"endIncluding":"3.1.0"} | |
References
- https://www.suse.com/security/cve/CVE-2016-4009.html
- http://www.securityfocus.com/bid/86064
- https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
- https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
- https://github.com/python-pillow/Pillow/pull/1714
- https://security.gentoo.org/glsa/201612-52
- https://nvd.nist.gov/vuln/detail/CVE-2016-4009
- https://github.com/advisories/GHSA-hvr8-466p-75rh
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml
- https://github.com/python-pillow/Pillow
- https://security-tracker.debian.org/tracker/CVE-2016-4009
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.