CWE
119 120
Advisory Published
Updated

CVE-2020-5312: Buffer Overflow

First published: Fri Jan 03 2020(Updated: )

libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/python-imaging<0:1.1.6-20.el6_10
0:1.1.6-20.el6_10
redhat/python-pillow<0:2.0.0-20.gitd1c6db8.el7_7
0:2.0.0-20.gitd1c6db8.el7_7
redhat/python-pillow<0:5.1.1-10.el8_1
0:5.1.1-10.el8_1
redhat/python-pillow<0:5.1.1-10.el8_0
0:5.1.1-10.el8_0
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
redhat/python-pillow<6.2.2
6.2.2
ubuntu/pillow<5.1.0-1ubuntu0.2
5.1.0-1ubuntu0.2
ubuntu/pillow<6.1.0-1ubuntu0.2
6.1.0-1ubuntu0.2
ubuntu/pillow<2.3.0-1ubuntu3.4+
2.3.0-1ubuntu3.4+
ubuntu/pillow<7.0.0-1
7.0.0-1
ubuntu/pillow<3.1.2-0ubuntu1.3
3.1.2-0ubuntu1.3
debian/pillow
5.4.1-2+deb10u3
5.4.1-2+deb10u6
8.1.2+dfsg-0.3+deb11u1
9.4.0-1.1
10.2.0-1
10.3.0-2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2020-5312?

    CVE-2020-5312 is a vulnerability in libImaging/PcxDecode.c in Pillow before 6.2.2 that allows a PCX P mode buffer overflow.

  • What is the severity of CVE-2020-5312?

    The severity of CVE-2020-5312 is critical with a severity score of 9.8.

  • How does CVE-2020-5312 affect python-pillow?

    CVE-2020-5312 affects python-pillow versions before 6.2.2.

  • How can I fix the vulnerability CVE-2020-5312?

    To fix the vulnerability CVE-2020-5312, update python-pillow to version 6.2.2 or later.

  • Where can I find more information about CVE-2020-5312?

    You can find more information about CVE-2020-5312 in the references provided: [link1](https://github.com/python-pillow/Pillow/commit/93b22b846e0269ee9594ff71a72bec02d2bea8fd), [link2](https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1789541).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203