{"id":"CVE-2022-22815","aliases":["BIT-pillow-2022-22815","GHSA-pw3c-h7wp-cvhx","PYSEC-2022-8"],"url":"https://o3.security/vulnerability/CVE-2022-22815","summary":"Improper Initialization in Pillow","details":"Pillow is the friendly PIL (Python Imaging Library) fork. `path_getbbox` in `path.c` in Pillow before 9.0.0 improperly initializes `ImagePath.Path`.","published":"2022-01-07T00:00:00Z","modified":"2026-08-12T03:51:19.428662150Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"9.0.0"}],"fix":{"url":"https://github.com/python-pillow/Pillow/pull/5920","label":"python-pillow/Pillow#5920"},"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22815.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-22815"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202211-10"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5053"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/5920"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pw3c-h7wp-cvhx"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-8.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1187"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:19.428662150Z"}}