path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
Priority LOW 34CWE-665Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · Low
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
Why it matters now
EPSS 0.02771 86th percentileScored 2026-11-07
Fix Partial pillow (PyPI): 9.0.0Red Hat: 1 advisoryRed Hat: 2 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pillow (PyPI) | before 9.0.0 | 9.0.0 | Patch available | GHSA-pw3c-h7wp-cvhx |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- pillow (PyPI) Vendor— Affected before 9.0.0 Fixed in 9.0.0 Patch available GHSA-pw3c-h7wp-cvhx
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* | before 9.0.0 | Vulnerable | python-pillow |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 10.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | 11.0 | Vulnerable | Debian |
- cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* Versions before 9.0.0 Vulnerable ·python-pillow
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian
Remediation
- Fix · GHSA-pw3c-h7wp-cvhx pillow (PyPI) Fixed in 9.0.0 Advisory →
Red Hat 1 advisory
- RHSA-2022:0643 Released 2022-02-22 · Red Hat rating Importantpython-pillow security update
- Red Hat CodeReady Linux Builder (v. 8) python3-pillow-5.1.1-18.el8_5, python3-pillow-devel-5.1.1-18.el8_5, python3-pillow-doc-5.1.1-18.el8_5 +1
- Red Hat Enterprise Linux AppStream (v. 8) python-pillow-5.1.1-18.el8_5, python3-pillow-5.1.1-18.el8_5
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2022:0643 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:0643 |
Timeline
- 2026-10-02 Threatist record created from CVE-2022-22815
- 2026-10-03 Alias added: GHSA-pw3c-h7wp-cvhx
References
Advisory 7
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- [debian-lts-announce] 20220123 [SECURITY] [DLA 2893-1] pillow security update
- DSA-5053
- GLSA-202211-10
- https://nvd.nist.gov/vuln/detail/CVE-2022-22815
- https://github.com/advisories/GHSA-pw3c-h7wp-cvhx
Other 6
- https://github.com/python-pillow/Pillow/pull/5920
- https://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c
- https://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-8.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1187
Sources
- CVE-2022-22815 · CVE Program
- CVE-2022-22815 · NVD
- FIRST EPSS
- GHSA-pw3c-h7wp-cvhx · GitHub Advisory Database · CC BY 4.0
- CVE-2022-22815 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences