CVE-2021-28676: Input Validation

Published Apr 1, 2021
·
Updated

A flaw was found in python-pillow. FliDecode.c did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load. This issue dates to the PIL fork. The highest threat from this vulnerability is to system availability.

Other sources

An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.

FliDecode.c did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load. This dates to the PIL fork.

References: https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#security https://github.com/python-pillow/Pillow/pull/5377

Red Hat

Affected Software

5 affected componentsFixes available
redhat/python-pillow<0:5.1.1-16.el8
0:5.1.1-16.el8
redhat/python-pillow<8.2.0
8.2.0
pip/Pillow<8.2.0
8.2.0
Python Pillow<8.2.0
Fedoraproject Fedora=33

Remediation

Information

To mitigate this feature on Red Hat Quay, keep the invoice generation feature disabled, as it is by default.

Event History

Apr 1, 2021
CVE Published
12:00 AM
Jun 2, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jun 8, 2021
Advisory Published
via GitHub·06:48 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-28676?

CVE-2021-28676 is a vulnerability in Pillow before version 8.2.0 that could lead to an infinite loop on load, potentially impacting system availability.

2

How does CVE-2021-28676 affect the system availability?

CVE-2021-28676 can affect system availability by causing an infinite loop on load.

3

What is the severity of CVE-2021-28676?

CVE-2021-28676 is classified as a high severity vulnerability with a severity value of 7.

4

Which software is affected by CVE-2021-28676?

Python Pillow versions before 8.2.0, specifically version 0:5.1.1-16.el8, are affected by CVE-2021-28676.

5

How do I fix CVE-2021-28676?

To fix CVE-2021-28676, upgrade to version 8.2.0 of Python Pillow, which includes the necessary security patches.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203