PyPi: Pillow

CVE-2022-45198

Safety vulnerability ID: 51885

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Nov 14, 2022 Updated at Feb 11, 2026
Scan your Python projects for vulnerabilities →

Advisory

[This advisory has been limited. Please create a free account to view the full advisory.]

Affected package

pillow

Latest version: 12.1.1

Python Imaging Library (fork)

Affected versions

[This affected versions has been limited. Please create a free account to view the full affected versions.]

Fixed versions

[This fixed versions has been limited. Please create a free account to view the full fixed versions.]

Vulnerability changelog

Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification). See CVE-2022-45198.


MISC:https://bugs.gentoo.org/855683: https://bugs.gentoo.org/855683
MISC:https://cwe.mitre.org/data/definitions/409.html: https://cwe.mitre.org/data/definitions/409.html
MISC:https://github.com/python-pillow/Pillow/commit/11918eac0628ec8ac0812670d9838361ead2d6a4: https://github.com/python-pillow/Pillow/commit/11918eac0628ec8ac0812670d9838361ead2d6a4
MISC:https://github.com/python-pillow/Pillow/pull/6402: https://github.com/python-pillow/Pillow/pull/6402
MISC:https://github.com/python-pillow/Pillow/releases/tag/9.2.0: https://github.com/python-pillow/Pillow/releases/tag/9.2.0

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH