CVE-2022-22815
CVE-2022-22815 is a medium-severity vulnerability in Python Pillow with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-665.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 6.4
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-665
- Affected product: Python Pillow
- Published:
- Last modified:
Description
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
Frequently asked questions
- What is CVE-2022-22815?
- path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
- How severe is CVE-2022-22815?
- CVE-2022-22815 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability low.
- Is CVE-2022-22815 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2022-22815?
- CVE-2022-22815 primarily affects Python Pillow. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2022-22815?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2022-22815 published?
- CVE-2022-22815 was published on 2022-01-10 and last updated on 2026-06-17.
References
- https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- https://security.gentoo.org/glsa/202211-10
- https://www.debian.org/security/2022/dsa-5053
Affected products (4)
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
More vulnerabilities in Python Pillow
- CVE-2014-3007 — Critical (CVSS 10.0): Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands…
- CVE-2026-96639 — Critical (CVSS 9.8): Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation…
- CVE-2026-112900 — Critical (CVSS 9.8): Pillow is a Python imaging library. From 2.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking…
- CVE-2026-112403 — Critical (CVSS 9.8): Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a…
- CVE-2026-112398 — Critical (CVSS 9.8): Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines…
- CVE-2026-112393 — Critical (CVSS 9.8): Pillow is a Python imaging library. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap…
All CVEs affecting Python Pillow →
Other CWE-665 (Improper Initialization) vulnerabilities
- CVE-2026-127277 — Critical (CVSS 10.0): A security flaw has been discovered in Linksys EA8100 1.0.3.216940. The affected element is an unknown function of the…
- CVE-2024-38558 — Critical (CVSS 10.0): In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: fix overwriting ct original…
- CVE-2026-64775 — Critical (CVSS 9.8): A memory initialization issue was addressed with improved memory handling. This issue is fixed in iOS 26.6 and iPadOS…
- CVE-2026-53398 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix SECINFO_NO_NAME decode error…
- CVE-2024-46697 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: nfsd: ensure that nfsd4_fattr_args.context is…
- CVE-2021-33635 — Critical (CVSS 9.8): When malicious images are pulled by isula pull, attackers can execute arbitrary code.
Browse all CWE-665 (Improper Initialization) vulnerabilities →