Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-27921

published

python-pillow: Excessive memory allocation in BLP image reader

Title from Red Hat VEX

Published
03 Mar 2021, 08:41:57 UTC
Updated
15 Aug 2025, 04:41:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-146 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 python3-pillow Advisory build 5.1.1-16.el8 ALSA-2021:4149
Alpine Linux edge py3-pillow Fixed 8.1.2-r0 Package fix record
Red Hat Enterprise Linux RHEL-8 python-pillowsrc Advisory build 5.1.1-16.el8 RHSA-2021:4149
SUSE / openSUSE SLE-15-SP6 python3-Pillowaarch64 Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-2
Alpine Linux v3.14 py3-pillow Fixed 8.1.2-r0 Package fix record
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.15 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.16 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.17 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.18 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.19 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.20 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.21 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.22 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.23 py3-pillow Fixed 8.1.2-r0 Package fix record
Alpine Linux v3.24 py3-pillow Fixed 8.1.2-r0 Package fix record
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfoaarch64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfoppc64le Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfos390x Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debuginfox86_64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourceaarch64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourceppc64le Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsources390x Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python-pillow-debugsourcex86_64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillowaarch64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillowppc64le Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillows390x Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillowx86_64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfoaarch64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfoppc64le Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfos390x Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-debuginfox86_64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfoaarch64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfoppc64le Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfos390x Advisory build 5.1.1-16.el8 RHSA-2021:4149
Red Hat Enterprise Linux RHEL-8 python3-pillow-tk-debuginfox86_64 Advisory build 5.1.1-16.el8 RHSA-2021:4149
SUSE / openSUSE SLE-15-SP6 python3-Pillowppc64le Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-2
SUSE / openSUSE SLE-15-SP6 python3-Pillows390x Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-2
SUSE / openSUSE SLE-15-SP6 python3-Pillowx86_64 Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-2
SUSE / openSUSE openSUSE-Leap-15.2 python3-CairoSVGnoarch Advisory build 2.5.1-lp152.2.3.1 OPENSUSE-SU-2021:1134-1
SUSE / openSUSE openSUSE-Leap-15.2 python3-Pillowx86_64 Advisory build 8.3.1-lp152.5.3.1 OPENSUSE-SU-2021:1134-1
SUSE / openSUSE openSUSE-Leap-15.2 python3-Pillow-tkx86_64 Advisory build 8.3.1-lp152.5.3.1 OPENSUSE-SU-2021:1134-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillowaarch64 Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillowppc64le Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillows390x Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillowx86_64 Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillow-tkaarch64 Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillow-tkppc64le Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillow-tks390x Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Leap-15.5 python3-Pillow-tkx86_64 Advisory build 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillowaarch64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillowppc64le Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillows390x Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillowx86_64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillow-tkaarch64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillow-tkppc64le Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillow-tks390x Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python310-Pillow-tkx86_64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillowaarch64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillowppc64le Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillows390x Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillowx86_64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillow-tkaarch64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillow-tkppc64le Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillow-tks390x Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python311-Pillow-tkx86_64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillowaarch64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillowppc64le Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillows390x Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillowx86_64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillow-tkaarch64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillow-tkppc64le Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillow-tks390x Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python312-Pillow-tkx86_64 Advisory build 10.3.0-1.1 OPENSUSE-SU-2024:13827-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowaarch64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowppc64le Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillows390x Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowx86_64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkaarch64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkppc64le Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tks390x Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkx86_64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowaarch64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowppc64le Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillows390x Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowx86_64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkaarch64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkppc64le Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tks390x Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkx86_64 Advisory build 12.3.0-1.1 OPENSUSE-SU-2026:11261-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillowaarch64 Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillowppc64le Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillows390x Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillowx86_64 Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillow-tkaarch64 Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillow-tkppc64le Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillow-tks390x Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python36-Pillow-tkx86_64 Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Pillowaarch64 Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Pillowppc64le Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1
SUSE / openSUSE openSUSE-Tumbleweed python38-Pillows390x Advisory build 8.3.2-1.2 OPENSUSE-SU-2024:11209-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

24

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

9

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9e652fea6ca9dcb1674f1635bd883a18992ad70fda68fdefea48c7ed2ad37264
Ingested
23 Sep 2026, 07:53:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected