7.8high

CVE-2016-9190

Arbitrary code using "crafted image file" approach affecting Pillow

Also known as GHSA-w4vg-rf63-f3j3, PYSEC-2016-9

Published 10 y ago · modified 4 mo ago · JSON

CVSS
7.8
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.9%
percentile 80%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

1.90% probability of exploitation in the next 30 days, higher than 80% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P
GitHub3.07.8CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

EcosystemPackageAffectedFixed in
pypipillow
<3.3.2
3.3.2

Classification

Weakness

References

  • security.gentoo.org /glsa/201612-52 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • securityfocus.com /bid/94234 · vdb-entry, x_refsource_BID, x_transferred
  • github.com /python-pillow/Pillow/issues/2105 · x_refsource_CONFIRM, x_transferred
  • debian.org /security/2016/dsa-3710 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • pillow.readthedocs.io /en/3.4.x/releasenotes/3.3.2.html · x_refsource_CONFIRM, x_transferred
  • github.com /python-pillow/Pillow/pull/2146/commits/5d8a0be45aad78c5a22c8d099118ee26ef8144af · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-9190 · advisory
  • github.com /advisories/GHSA-w4vg-rf63-f3j3 · advisory
  • github.com /pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-9.yaml · web
  • github.com /python-pillow/Pillow · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.