CVE
CVE-2020-5311
publishedpython-pillow: out-of-bounds write in expandrow in libImaging/SgiRleDecode.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Oracle Linux | 8 | python3-pillowaarch64 | Advisory build | 0:5.1.1-10.el8_1 | ELSA-2020-0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Ubuntu | bionic | pillow | Advisory build | 5.1.0-1ubuntu0.2 | USN-4272-1 |
| Alpine Linux | v3.12 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
Show 48 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.14 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.15 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.16 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.18 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.19 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-pillow | Fixed | 6.2.2-r0 | Package fix record |
| Oracle Linux | 8 | python3-pillowx86_64 | Advisory build | 0:5.1.1-10.el8_1 | ELSA-2020-0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoaarch64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfos390x | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceaarch64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceppc64le | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceppc64le | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsources390x | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowaarch64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowppc64le | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowppc64le | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillows390x | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoaarch64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoppc64le | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoppc64le | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfos390x | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoaarch64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoppc64le | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoppc64le | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfos390x | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-10.el8_0 | RHSA-2020:0566 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-10.el8_1 | RHSA-2020:0580 |
| Ubuntu | bionic | python-pil | Advisory build | 5.1.0-1ubuntu0.2 | USN-4272-1 |
| Ubuntu | bionic | python-pil.imagetk | Advisory build | 5.1.0-1ubuntu0.2 | USN-4272-1 |
| Ubuntu | bionic | python3-pil | Advisory build | 5.1.0-1ubuntu0.2 | USN-4272-1 |
| Ubuntu | bionic | python3-pil.imagetk | Advisory build | 5.1.0-1ubuntu0.2 | USN-4272-1 |
Description
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- RHSA-2020:0566 https://access.redhat.com/errata/RHSA-2020:0566
- RHSA-2020:0580 https://access.redhat.com/errata/RHSA-2020:0580
- https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3
- FEDORA-2020-df444e464e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/
- FEDORA-2020-5cdbb19cca https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
- USN-4272-1 https://usn.ubuntu.com/4272-1/
- DSA-4631 https://www.debian.org/security/2020/dsa-4631
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6c8c6a6242e86c3cb2661f9be9ade3512122b879e16f0635d1110c4830002d93
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record