Arbitrary code using "crafted image file" approach affecting Pillow
Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "Insecure Sign Extension" issue affecting the ImagingNew in Storage.c component.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pillow | < 3.3.2 | 3.3.2 |
References
- http://pillow.readthedocs.io/en/3.4.x/releasenotes/3.3.2.html
- https://github.com/python-pillow/Pillow/issues/2105
- https://github.com/python-pillow/Pillow/pull/2146/commits/5d8a0be45aad78c5a22c8d099118ee26ef8144af
- http://www.securityfocus.com/bid/94234
- http://www.debian.org/security/2016/dsa-3710
- https://security.gentoo.org/glsa/201612-52
- https://github.com/advisories/GHSA-w4vg-rf63-f3j3
- https://nvd.nist.gov/vuln/detail/CVE-2016-9190
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-9.yaml
- https://github.com/python-pillow/Pillow
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-284- Platform
- Python (PyPI)
- Package
pillow- Disclosed
- 04.11.2016
- Updated
- 11.10.2026 11:20
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2016-9 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w4vg-rf63-f3j3 - CC BY 4.0
Vulnerability history: pillow
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 81
- First → latest
- 04.2014 10.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 10
- High 53
- Medium 16
- Low 1
- Unrated 1
Disclosures per year
- 2017: 1
- 2018: 0
- 2019: 1
- 2020: 10
- 2021: 20
- 2022: 8
- 2023: 3
- 2024: 2
- 2025: 1
- 2026: 23
earlier: 12
-
Arbitrary code using "crafted image file" approach affecting Pillow this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.