PyPi: Pillow

CVE-2022-45199

Safety vulnerability ID: 51886

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.3.0 allows denial of service via SAMPLESPERPIXEL. See CVE-2022-45199.


MISC:https://bugs.gentoo.org/878769: https://bugs.gentoo.org/878769
MISC:https://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3: https://github.com/python-pillow/Pillow/commit/2444cddab2f83f28687c7c20871574acbb6dbcf3
MISC:https://github.com/python-pillow/Pillow/pull/6700: https://github.com/python-pillow/Pillow/pull/6700
MISC:https://github.com/python-pillow/Pillow/releases/tag/9.3.0: https://github.com/python-pillow/Pillow/releases/tag/9.3.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