Skip to main content
← All vulnerabilities
CVE-2021-27921PYSEC-2021-40BIT-PILLOW-2021-27921GHSA-F4W8-CV6P-X6R5

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.1.1, 8.1.2
None on Exploit-DB, Metasploit or GitHub

Summary

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • pillowPyPI

    fixed in 8.1.1

  • pillowPyPI

    fixed in 8.1.2

References 5

lists.fedoraproject.org

security.gentoo.org

pillow.readthedocs.io