CVE-2020-5312
published 2020-01-03CVE-2020-5312: libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
PriorityP349critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.69%
88.4th percentile
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
Affected
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | pillow | < pillow 7.0.0-1 (bookworm) | pillow 7.0.0-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| paloalto | pan-os | — | — |
| python | pillow | < 6.2.2 | 6.2.2 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 7.0.0-1 | 7.0.0-1 |
| python | pillow | >= 0 < 6.2.2 | 6.2.2 |
| python | pillow | >= 0 < 3.1.2-0ubuntu1.3 | 3.1.2-0ubuntu1.3 |
| python | pillow | >= 0 < 5.1.0-1ubuntu0.2 | 5.1.0-1ubuntu0.2 |
| python | pillow | >= 0 < 2.3.0-1ubuntu3.4+esm1 | 2.3.0-1ubuntu3.4+esm1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Palo Alto
PAN-SA-2024-0004 Informational Bulletin: OSS CVEs fixed in PAN-OS
vendor_paloalto·2024-04-10·CVSS 9.8
CVE-2015-5739 [CRITICAL] PAN-SA-2024-0004 Informational Bulletin: OSS CVEs fixed in PAN-OS
PAN-SA-2024-0004 Informational Bulletin: OSS CVEs fixed in PAN-OS
The Palo Alto Networks Product Security Assurance team has evaluated the following open source software (OSS) CVEs as they relate to PAN-OS. While it was not determined that these CVEs have any significant impact on PAN-OS, they have been fixed out of an abundance of caution. CVE Summary CVE-2015-5739 This CVE is fixed in PAN-OS 11.0.4, and all later PAN-OS versions. CVE-2016-10228 This CVE is fixed in PAN-OS 11.1.3, and all later PAN-OS versions. CVE-2017-8923 This CVE is fixed in PAN-OS 10.2.8, 11.0.3, and all later PAN-OS versions. CVE-2017-9120 This CVE is fixed in PAN-OS 10.2.8, 11.0.3, and all later PAN-OS versions. CVE-2018-25009 This CVE is fixed in PAN-OS 10.2.8, 11.0.4, 11.1.3, and all later PAN-OS versions. CVE-2
Ubuntu
Pillow vulnerabilities
vendor_ubuntu·2020-02-06·CVSS 7.5
CVE-2019-16865 [HIGH] Pillow vulnerabilities
Title: Pillow vulnerabilities
Summary: Several security issues were fixed in Pillow.
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2019-16865, CVE-2019-19911)
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2020-5312)
It was discovered that Pillow incorrectly handled certain TIFF images.
An attacker could possibly use this issue to cause a crash. This issue
only affected Ubuntu 19.10. (CVE-2020-5310)
It was discovered that Pillow incorrectly handled certain SGI images.
An attacker could possibly use this issue to execute arbitrary code or
cause a crash. This issue only affected Ubuntu 18.04 and Ubun
Red Hat
python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
vendor_redhat·2020-01-03·CVSS 9.8
CVE-2020-5312 [CRITICAL] CWE-119 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
A flaw was discovered in python-pillow does where it does not properly restrict operations within the bounds of a memory buffer when decoding PCX images. An application that uses python-pillow to decode untrusted images may be vulnerable to this flaw, which can allow an attacker to crash the application or potentially execute code on the system.
Package: python-imaging (Red Hat Enterprise Linux 5) - Out of support scope
Debian
CVE-2020-5312: pillow - libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
vendor_debian·2020·CVSS 9.8
CVE-2020-5312 [CRITICAL] CVE-2020-5312: pillow - libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
Scope: local
bookworm: resolved (fixed in 7.0.0-1)
bullseye: resolved (fixed in 7.0.0-1)
forky: resolved (fixed in 7.0.0-1)
sid: resolved (fixed in 7.0.0-1)
trixie: resolved (fixed in 7.0.0-1)
GHSA
PCX P mode buffer overflow in Pillow
ghsa·2021-11-03
CVE-2020-5312 [CRITICAL] CWE-120 PCX P mode buffer overflow in Pillow
PCX P mode buffer overflow in Pillow
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
OSV
PCX P mode buffer overflow in Pillow
osv·2021-11-03
CVE-2020-5312 [CRITICAL] PCX P mode buffer overflow in Pillow
PCX P mode buffer overflow in Pillow
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
OSV
pillow vulnerabilities
osv·2020-02-06·CVSS 7.5
CVE-2019-16865 [HIGH] pillow vulnerabilities
pillow vulnerabilities
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to cause a denial of service.
(CVE-2019-16865, CVE-2019-19911)
It was discovered that Pillow incorrectly handled certain images.
An attacker could possibly use this issue to execute arbitrary code.
(CVE-2020-5312)
It was discovered that Pillow incorrectly handled certain TIFF images.
An attacker could possibly use this issue to cause a crash. This issue
only affected Ubuntu 19.10. (CVE-2020-5310)
It was discovered that Pillow incorrectly handled certain SGI images.
An attacker could possibly use this issue to execute arbitrary code or
cause a crash. This issue only affected Ubuntu 18.04 and Ubuntu 19.10.
(CVE-2020-5311)
It was discovered that Pillow incorr
OSV
CVE-2020-5312: libImaging/PcxDecode
osv·2020-01-03·CVSS 9.8
CVE-2020-5312 [CRITICAL] CVE-2020-5312: libImaging/PcxDecode
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python3-pillow: various flaws [epel-7]
bugzilla·2020-01-09·CVSS 8.8
CVE-2020-5310 [HIGH] CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python3-pillow: various flaws [epel-7]
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python3-pillow: various flaws [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template
Bugzilla
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python-pillow: various flaws [fedora-all]
bugzilla·2020-01-09·CVSS 8.8
CVE-2020-5310 [HIGH] CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python-pillow: various flaws [fedora-all]
CVE-2020-5310 CVE-2020-5311 CVE-2020-5312 CVE-2020-5313 python-pillow: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
Bugzilla
CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
bugzilla·2020-01-09·CVSS 9.8
CVE-2020-5312 [CRITICAL] CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
CVE-2020-5312 python-pillow: improperly restricted operations on memory buffer in libImaging/PcxDecode.c
libImaging/PcxDecode.c in Pillow before 6.2.2 has an PCX P mode buffer overflow.
Upstream patch:
https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd
References:
https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html
Discussion:
Created python-pillow tracking bugs for this issue:
Affects: fedora-all [bug 1789541]
Created python3-pillow tracking bugs for this issue:
Affects: epel-7 [bug 1789542]
---
While Red Hat Quay includes the python-pillow it's not used, therefore this issue is rated moderate for Red Hat Quay.
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8.0 Update Services for SAP S
https://access.redhat.com/errata/RHSA-2020:0566https://access.redhat.com/errata/RHSA-2020:0578https://access.redhat.com/errata/RHSA-2020:0580https://access.redhat.com/errata/RHSA-2020:0681https://access.redhat.com/errata/RHSA-2020:0683https://access.redhat.com/errata/RHSA-2020:0694https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fdhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlhttps://usn.ubuntu.com/4272-1/https://www.debian.org/security/2020/dsa-4631https://access.redhat.com/errata/RHSA-2020:0566https://access.redhat.com/errata/RHSA-2020:0578https://access.redhat.com/errata/RHSA-2020:0580https://access.redhat.com/errata/RHSA-2020:0681https://access.redhat.com/errata/RHSA-2020:0683https://access.redhat.com/errata/RHSA-2020:0694https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fdhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2MMU3WT2X64GS5WHDPKKC2WZA7UIIQ3A/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DUMIBUYGJRAVJCTFUWBRLVQKOUTVX5P/https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlhttps://usn.ubuntu.com/4272-1/https://www.debian.org/security/2020/dsa-4631
2020-01-03
Published