CVE-2021-28678
python-pillow: Excessive looping in BLP image reader
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 1, 2021
Updated · June 28, 2026
Description
A flaw was found in python-pillow. BlpImagePlugin did not properly check that reads after jumping to file offsets returned data. This could lead to a denial-of-service where the decoder could be run a large number of times on empty data.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this feature on Red Hat Quay keep the invoice generation feature disabled, as it is by default.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-20 · Improper Input Validation