CVE-2022-45198Python Pillow
High 7.5 No auth needed
Follow: this CVE · Python · Python Pillow We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Nov 14, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
What to do
- Apply the vendor's security update for Pillow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pillow |
< 9.2.0 |
9.2.0 |
pip install "pillow>=9.2.0" |
| PyPI | pillow |
< 9.2.0 |
9.2.0 |
pip install "pillow>=9.2.0" |
Per OSV / GitHub Advisories (GHSA-m2vv-5vj5-2hm7, PYSEC-2022-42979). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | pillow | < 9.2.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.gentoo.org Issue Tracking Patch Third Party Advisory
- cwe.mitre.org Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- security.gentoo.org Third Party Advisory