PyPA Advisory Database
PYSEC-2022-9
Details
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pillow | All versions before 9.0.0 (fixed in 9.0.0) |
References
- 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://github.com/advisories/GHSA-xrcv-f9gm-v42c