Skip to main content
← All vulnerabilities
CVE-2021-27922GHSA-3WVG-MJ6G-M9CVBIT-PILLOW-2021-27922PYSEC-2021-41

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.2, 8.1.1
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 an ICNS 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.2

  • pillowPyPI

    fixed in 8.1.1

References 5

lists.fedoraproject.org

security.gentoo.org

pillow.readthedocs.io