CVE-2020-5312
CRITICALCVSS 9.8/10EPSS 3.69%
Last modified
CVE-2020-5312 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.. EPSS estimates a 3.69% chance of exploitation in the next 30 days.
Description
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | < 6.2.2 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 19.10 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 30 |
| Fedoraproject | Fedora | 31 |
References
- https://access.redhat.com/errata/RHSA-2020:0566Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0578Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0580Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0681Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0683Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0694Third Party Advisory
- https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fdPatch, Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlRelease Notes, Third Party Advisory
- https://usn.ubuntu.com/4272-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4631Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0566Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0578Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0580Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0681Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0683Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0694Third Party Advisory
- https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fdPatch, Third Party Advisory
- https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.htmlRelease Notes, Third Party Advisory
- https://usn.ubuntu.com/4272-1/Third Party Advisory
- https://www.debian.org/security/2020/dsa-4631Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-5312?
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
How severe is CVE-2020-5312?
CVE-2020-5312 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 3.69% probability of exploitation in the next 30 days.
How do I fix CVE-2020-5312?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-5305Codoforum 4.8.3 allows XSS in the admin dashboard via a name…4.8
- CVE-2020-5306Codoforum 4.8.3 allows XSS via a post using parameters displ…4.8
- CVE-2020-5307PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerab…9.8
- CVE-2020-5308PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerab…6.1
- CVE-2020-5310libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF de…8.8
- CVE-2020-5311libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI …9.8
- CVE-2020-5313libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buf…7.1
- CVE-2020-5315Dell EMC Repository Manager (DRM) version 3.2 contains a pla…8.8
- CVE-2020-5316Dell SupportAssist for Business PCs versions 2.0, 2.0.1, 2.0…7.8
- CVE-2020-5317Dell EMC ECS versions prior to 3.4.0.1 contain an XSS vulner…4.8
- CVE-2020-5318Dell EMC Isilon OneFS versions 8.1.2, 8.1.0.4, 8.1.0.3, and …7.5
- CVE-2020-5319Dell EMC Unity, Dell EMC Unity XT, and Dell EMC UnityVSA ver…7.5
Are you affected by CVE-2020-5312?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
