CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in python pillow. EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 8.1.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hpillow (PyPI): fixed in 8.1.1Explain CVE-2021-25289 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25289?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25289?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25289 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| python:pillow | before 8.1.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-57h3-9rgr-c24m | PyPI | pillow | <8.1.1 | 8.1.1 |
| PYSEC-2021-35 | PyPI | pillow | <8.1.1 | 8.1.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | pillow | 8.1.1-1 | DEBIAN-CVE-2021-25289 |
| Ubuntu | 16.04:LTS | pillow | 3.1.2-0ubuntu1.6 | USN-4763-1 |
| Ubuntu | 18.04:LTS | pillow | 5.1.0-1ubuntu0.5 | USN-4763-1 |
| Ubuntu | 20.04:LTS | pillow | 7.0.0-4ubuntu0.3 | UBUNTU-CVE-2021-25289 USN-4763-1 |
| Ubuntu | Pro:20.04:LTS | pillow-python2 | no fix listed | UBUNTU-CVE-2021-25289 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP6 | python-Pillow | 7.2.0-150300.3.15.1 | SUSE-SU-2024:1673-2 |
| openSUSE | Leap 15.2 | python-CairoSVG | 2.5.1-lp152.2.3.1 | openSUSE-SU-2021:1134-1 |
| openSUSE | Leap 15.2 | python-Pillow | 8.3.1-lp152.5.3.1 | openSUSE-SU-2021:1134-1 |
| openSUSE | Leap 15.5 | python-Pillow | 7.2.0-150300.3.15.1 | SUSE-SU-2024:1673-1 |
| openSUSE | Tumbleweed | python-Pillow | 10.3.0-1.1 | openSUSE-SU-2024:13827-1 |
| openSUSE | Tumbleweed | python-Pillow | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| openSUSE | Tumbleweed | python-Pillow | 8.3.2-1.2 | openSUSE-SU-2024:11209-1 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | py3-pillow | 8.1.2-r0 | ALPINE-CVE-2021-25289 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
python-pillow as shipped with Red Hat Enterprise Linux 7 and 8 are not affected by this flaw as the flaw was introduced in a newer version than shipped.
Disable the invoice generation feature to mitigate this vulnerability in Red Hat Quay.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Quay 3 | quay/quay-rhel8:v3.6.0-62 | Fixed 2021-10-19 | RHSA-2021:3917 |
| Red Hat Enterprise Linux 7 | python-pillow | Not affected | |
| Red Hat Enterprise Linux 8 | python-pillow | Not affected | |
| Red Hat Enterprise Linux 9 | python-pillow | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25289.