CVE-2022-45199

Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.

Published: 2022-11-14 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-45199 is rated Moderate Risk (52.4/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.10%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-45199

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.15% 1.10% +0.95%
2 2026-05-17 0.10% 0.15% +0.05%
3 2025-11-21 0.10%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-45199

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2022-45199

GitHub Security Advisory for CVE-2022-45199

GHSA-q4mp-jvh2-76fj · Severity: high · Ecosystem: pip — Pillow subject to DoS via SAMPLESPERPIXEL tag

OS Trackers for CVE-2022-45199

vendor priority summary link
debian unimportant CVE-2022-45199 unimportant priority: Debian including 1 source packages (pillow), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-45199
gentoo high CVE-2022-45199: 1 GLSA(s) (202211-10), 1 atom(s) (dev-python/pillow); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-45199
suse medium CVE-2022-45199 severity moderate: SUSE including 1 source package names (python-Pillow), 5 product×package rows across 5 product lines (HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, … (5 product lines)): Will Not Fix 5. https://www.suse.com/security/cve/CVE-2022-45199/
ubuntu low CVE-2022-45199 low priority: Ubuntu including 2 source packages (pillow, pillow-python2), 16 status rows across 9 suites (bionic, focal, jammy, kinetic, lunar, mantic, trusty, upstream, xenial): not-affected 9, DNE 5, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2022-45199

Affected software / configurations for CVE-2022-45199

Vendor Product Version Raw CPE
python pillow < 9.3.0 cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

References for CVE-2022-45199

cvelogic Threat Intelligence