CWE
120 119 787
Advisory Published
Advisory Published
Updated

CVE-2020-5311: Buffer Overflow

First published: Fri Jan 03 2020(Updated: )

`libImaging/SgiRleDecode.c` in Pillow before 6.2.2 has an SGI buffer overflow.

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

Affected SoftwareAffected VersionHow to fix
pip/pillow<=6.2.1
6.2.2
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=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<7.0.0-1
7.0.0-1
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-5311?

    CVE-2020-5311 is a vulnerability in the libImaging/SgiRleDecode.c file in Pillow before version 6.2.2.

  • How does CVE-2020-5311 affect Python Pillow?

    CVE-2020-5311 allows an attacker to crash an application or potentially execute code on the system by exploiting an out-of-bounds write flaw in the SGI RLE image decoding process of python-pillow.

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

    CVE-2020-5311 has a severity rating of critical, with a severity value of 9 out of 10.

  • How can I fix CVE-2020-5311?

    To fix CVE-2020-5311, ensure you are using python-pillow version 6.2.2 or later.

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

    You can find more information about CVE-2020-5311 in the references provided: [GitHub commit](https://github.com/python-pillow/Pillow/commit/a79b65c47c7dc6fe623aadf09aa6192fc54548f3), [Pillow release notes](https://pillow.readthedocs.io/en/stable/releasenotes/6.2.2.html), [Red Hat Bugzilla](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