CVE-2019-16865
HIGH 7.5CVSS 3.1DOS attack in Pillow when processing specially crafted image files
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.
- Published
- 4 Oct 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-j7mj-748x-7p78PYSEC-2019-110
- Sources
- NVDJSONOSV GHSA-j7mj-748x-7p78JSONOSV PYSEC-2019-110JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
< 6.2.0 | 6.2.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* |
= 30 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| OSV | PyPI | pillow | < 6.2.0 | 6.2.0 |
References
- https://access.redhat.com/errata/RHSA-2020:0566 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0578 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0580 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0681 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0683 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0694 · WEB, ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3/
- https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html · Release Notes, Vendor Advisory, WEB
- https://usn.ubuntu.com/4272-1/ · WEB
- https://www.debian.org/security/2020/dsa-4631 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-16865 · ADVISORY
- https://github.com/python-pillow/Pillow/issues/4123 · WEB
- https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb · WEB
- https://ubuntu.com/security/notices/USN-4272-1 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU · WEB
- https://github.com/python-pillow/Pillow · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2019-110.yaml · WEB
- https://github.com/advisories/GHSA-j7mj-748x-7p78 · ADVISORY
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 4 Oct 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Oct 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Oct 2019)