python-pillow/pillow · Security
DOS attack in Pillow when processing specially crafted image files
- GHSA ID
- GHSA-j7mj-748x-7p78
- CVE ID
- CVE-2019-16865
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · 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
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.
CWEs
- CWE-770 · Allocation of Resources Without Limits or Throttling
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-16865 ↗
- https://github.com/python-pillow/Pillow/issues/4123 ↗
- https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html ↗
- https://access.redhat.com/errata/RHSA-2020:0566 ↗
- https://access.redhat.com/errata/RHSA-2020:0578 ↗
- https://access.redhat.com/errata/RHSA-2020:0580 ↗
- https://www.debian.org/security/2020/dsa-4631 ↗
- https://access.redhat.com/errata/RHSA-2020:0681 ↗
- https://access.redhat.com/errata/RHSA-2020:0683 ↗
- https://access.redhat.com/errata/RHSA-2020:0694 ↗
- https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU ↗
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3 ↗
- https://ubuntu.com/security/notices/USN-4272-1 ↗
- https://usn.ubuntu.com/4272-1 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2019-110.yaml ↗
- https://github.com/advisories/GHSA-j7mj-748x-7p78 ↗