python-pillow/pillow · Security
Out-of-bounds Read in Pillow
- GHSA ID
- GHSA-xrcv-f9gm-v42c
- CVE ID
- CVE-2022-22816
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
- CVSS v4
- 6.9 · 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
Description
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
CWEs
- CWE-125 · Out-of-bounds Read
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-22816 ↗
- https://github.com/python-pillow/Pillow/blob/c5d9223a8b5e9295d15b5a9b1ef1dae44c8499f3/src/path.c#L331 ↗
- https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#fixed-imagepath-path-array-handling ↗
- https://lists.debian.org/debian-lts-announce/2022/01/msg00018.html ↗
- https://www.debian.org/security/2022/dsa-5053 ↗
- https://security.gentoo.org/glsa/202211-10 ↗
- https://github.com/python-pillow/Pillow/pull/5920 ↗
- https://github.com/python-pillow/Pillow/commit/5543e4e2d409cd9e409bc64cdc77be0af007a31f ↗
- https://github.com/advisories/GHSA-xrcv-f9gm-v42c ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-9.yaml ↗