CVE-2022-22815
MEDIUM6.5EPSS 0.10%pillow - security update
Published: 1/12/2022Modified: 4/28/2026
Description
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
Affected packages (7)
- Alpine/py3-pillowfrom 0, < 8.4.0-r2
- Bitnami/pillowfrom 0, < 9.0.0
- Debian/pillowfrom 0, < 5.4.1-2+deb10u3
- Debian/pillowfrom 0, < 4.0.0-4+deb9u4
- Debian/pillowfrom 0, < 8.1.2+dfsg-0.3+deb11u1
- PyPI/pillowfrom 0, < 9.0.0
- PyPI/pillowfrom 0, < 9.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
References (15)
- ADVISORYhttps://github.com/advisories/GHSA-pw3c-h7wp-cvhx
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-22815
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-22815
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-22815
- PATCHhttps://github.com/python-pillow/Pillow
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-8.yaml
- WEBhttps://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331
- WEBhttps://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1187
- WEBhttps://github.com/python-pillow/Pillow/commit/1e092419b6806495c683043ab3feb6ce264f3b9c
- WEBhttps://github.com/python-pillow/Pillow/commit/c48271ab354db49cdbd740bc45e13be4f0f7993c
- WEBhttps://github.com/python-pillow/Pillow/pull/5920
- WEBhttps://lists.debian.org/debian-lts-announce/2022/01/msg00018.html
- WEBhttps://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling
- WEBhttps://security.gentoo.org/glsa/202211-10
- WEBhttps://www.debian.org/security/2022/dsa-5053