CVE-2016-4009
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
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-4009
Vendor advisory: cve@mitre.org — https://github.com/python-pillow/Pillow/pull/1714
Vendor advisory: cve@mitre.org — https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
Vendor advisory: cve@mitre.org — https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-4009.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 3.1.1-1 |
| debian | bullseye | fixed | 3.1.1-1 |
| debian | forky | fixed | 3.1.1-1 |
| debian | sid | fixed | 3.1.1-1 |
| debian | trixie | 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
Verify integrity in audit chain (admin only). AS-IS.