CVE-2016-9190
Arbitrary code using "crafted image file" approach affecting Pillow
Reported by mitre · Published November 4, 2016
Pillow is fixed in 3.3.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Pillow | PyPI | 3.3.2 |
| python-pillow | Amazon Linux | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| python-pillow-sane | Amazon Linux | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| python-pillow-devel | Amazon Linux | 2.0.0-23.gitd1c6db8.amzn2.0.4 |
| pillow | python | 3.3.1 |
| pillow | Ubuntu:16.04:LTS | 3.1.2-0ubuntu1.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | python-pillow | 0 |
| amazon:2 | python-pillow-sane | 0 |
| amazon:2 | python-pillow-devel | 0 |
| n/a | n/a | * |
| amazon:2 | python-pillow-tk | 0 |
| PyPI | Pillow | 0 |
| amazon:2 | python-pillow-doc | 0 |
Timeline
- Nov 4, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (5 in total, the first dated here)
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-9190
vulnetix vdb fixes CVE-2016-9190
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-9190/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-201612-52 vendor-advisoryx_refsource_GENTOO
- 94234 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- DSA-3710 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-9190 advisory
- https://github.com/advisories/GHSA-w4vg-rf63-f3j3 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-9.yaml advisory
- https://github.com/python-pillow/Pillow url