Out-of-bounds Write Affecting pillow package, versions [6.0.0,8.1.0)



    Attack Complexity High
    Availability High

    Threat Intelligence

    EPSS 0.19% (55th percentile)
Expand this section
8.8 high
Expand this section
Red Hat
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-PILLOW-1059090
  • published 12 Jan 2021
  • disclosed 12 Jan 2021
  • credit Unknown

How to fix?

Upgrade Pillow to version 8.1.0 or higher.


Pillow is a PIL (Python Imaging Library) fork.

Affected versions of this package are vulnerable to Out-of-bounds Write via OOB Write in TiffDecode.c when reading corrupt YCbCr files. This happens because of certain interpretation conflicts with LibTIFF in RGBA mode.