python-pillow: reading specially crafted image files leads to allocation of large amounts of memory and denial of service
Published Oct 4, 2019
8.7
HIGHCVSS 4.0
EPSS 3.13%
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.
Affected products
No data.
Configuration 2
- 30
- 31
No data.
Red Hat Enterprise Linux 7
python-pillow-0:2.0.0-20.gitd1c6db8.el7_7
Fixed · RHSA-2020:0578
Red Hat Enterprise Linux 8
python-pillow-0:5.1.1-10.el8_1
Fixed · RHSA-2020:0580
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions
python-pillow-0:5.1.1-10.el8_0
Fixed · RHSA-2020:0566
Red Hat Enterprise Linux 5
python-imaging
Out of support scope
Red Hat Enterprise Linux 6
python-imaging
Out of support scope
Red Hat Quay 3
quay
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | python-pillow-0:2.0.0-20.gitd1c6db8.el7_7 | Fixed | RHSA-2020:0578 |
| Red Hat Enterprise Linux 8 | python-pillow-0:5.1.1-10.el8_1 | Fixed | RHSA-2020:0580 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | python-pillow-0:5.1.1-10.el8_0 | Fixed | RHSA-2020:0566 |
| Red Hat Enterprise Linux 5 | python-imaging | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | python-imaging | Out of support scope | n/a |
| Red Hat Quay 3 | quay | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.13% (0.03128) | 87.41th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.15% (0.03154) | 86.24th | v5 (v2026.06.15) |
| Feb 18, 2026 | 3.94% (0.03942) | 88.07th | v4 (v2025.03.14) |
| Sep 2, 2025 | 5.20% (0.05198) | 89.59th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.33% (0.03329) | 86.14th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.80% (0.07805) | 86.34th | v4 (v2025.03.14) |
| Jul 20, 2024 | 1.49% (0.01491) | 86.99th | v3 (v2023.03.01) |
| Jan 28, 2024 | 1.49% (0.01491) | 85.50th | v3 (v2023.03.01) |
| Nov 8, 2023 | 1.51% (0.01511) | 85.47th | v3 (v2023.03.01) |
| Sep 10, 2023 | 1.39% (0.01389) | 84.73th | v3 (v2023.03.01) |
| Sep 3, 2023 | 1.22% (0.01219) | 83.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.78% (0.00775) | 78.53th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.54% (0.01537) | 74.52th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.54% (0.01537) | 72.41th | v2 (v2022.01.01) |
| Feb 4, 2022 | 16.31% (0.16306) | 92.84th | v2 (v2022.01.01) |
| Feb 3, 2022 | 10.22% (0.10225) | 87.52th | v1 |
| Jan 6, 2022 | 10.22% (0.10225) | 87.37th | v1 |
| Jan 5, 2022 | 2.48% (0.02476) | 79.39th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.48% (0.02476) | 0.00th | v1 |
References (22)
- https://access.redhat.com/errata/RHSA-2020:0566 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0578 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0580 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0681 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0683 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0694 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-16865 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1774066 Issue Tracking
- https://github.com/advisories/GHSA-j7mj-748x-7p78 Advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2019-110.yaml
- https://github.com/python-pillow/Pillow/commit/ab52630d0644e42a75eb88b78b9a9d7438a6fbeb
- https://github.com/python-pillow/Pillow/issues/4123
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EMJBUZQGQ2Q7HXYCQVRLU7OXNC7CAWWU
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LYDXD7EE4YAEVSTNIFZKNVPRVJX5ZOG3
- https://nvd.nist.gov/vuln/detail/CVE-2019-16865
- https://pillow.readthedocs.io/en/latest/releasenotes/6.2.0.html x_refsource_MISCRelease NotesVendor Advisory
- https://ubuntu.com/security/notices/USN-4272-1
- https://usn.ubuntu.com/4272-1 vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2019-16865
- https://www.debian.org/security/2020/dsa-4631 vendor-advisoryx_refsource_DEBIAN
Change history (0)
No recorded changes yet.