CVE-2022-22816

path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.

Published: 2022-01-10 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-22816 is rated Moderate Risk (55/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.96%). Core evidence: EPSS rose +1.82% over the last day, indicating growing attacker interest. 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-22816

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.14% 1.96% +1.82%
2 2025-11-21 0.95% 0.14% -0.81%
3 2025-11-18 0.95%

Full EPSS history (12 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L 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:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 2.5 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2022-22816

GitHub Security Advisory for CVE-2022-22816

OS Trackers for CVE-2022-22816

vendor priority summary link
alpine medium CVE-2022-22816: 1 source package rows (py3-pillow); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2022-22816
debian not yet assigned CVE-2022-22816 not yet assigned 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-22816
gentoo high CVE-2022-22816: 1 GLSA(s) (202211-10), 1 atom(s) (dev-python/pillow); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-22816
redhat medium https://access.redhat.com/security/cve/CVE-2022-22816
suse low CVE-2022-22816 severity low: SUSE including 76 source package names (ardana-barbican-9.0+git.1644879908.8a641c1-3.13.1, grafana-6.7.4-3.26.1, …), 141 product×package rows across 17 product lines (SUSE Liberty Linux 7, SUSE Liberty Linux 8, … (17 product lines)): Fixed 117, Known Not Affected 24. https://www.suse.com/security/cve/CVE-2022-22816/
ubuntu low CVE-2022-22816 low priority: Ubuntu including 3 source packages (pillow, pillow-python2, python-imaging), 45 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 27, released 15, needs-triage 3. https://ubuntu.com/security/CVE-2022-22816

Affected software / configurations for CVE-2022-22816

Vendor Product Version Raw CPE
python pillow < 9.0.0 cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References for CVE-2022-22816

cvelogic Threat Intelligence