pillow: Pillow is a Python imaging library
CVE-2026-42309 is fixed in 3 products on 1 platform, first by python3-pil 11.3.0-1ubuntu1.3, released May 8, 2026. It is not reported as exploited. Patch Radar priority: Routine.
Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This issue has been patched in version 12.2.0.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| pillow · Debian 14 | 12.2.0-1 | DEBIAN-CVE-2026-42309 | May 15, 2026 |
| python3-pil · Ubuntu 25.10 (questing) | 11.3.0-1ubuntu1.3 | python3-pil 11.3.0-1ubuntu1.3 | May 8, 2026 |
| python3-pil · Ubuntu 26.04.1 LTS (resolute) | 12.1.1-2ubuntu1.2 | python3-pil 12.1.1-2ubuntu1.2 | May 8, 2026 |
| python3-pil.imagetk · Ubuntu 25.10 (questing) | 11.3.0-1ubuntu1.3 | python3-pil.imagetk 11.3.0-1ubuntu1.3 | May 8, 2026 |
| python3-pil.imagetk · Ubuntu 26.04.1 LTS (resolute) | 12.1.1-2ubuntu1.2 | python3-pil.imagetk 12.1.1-2ubuntu1.2 | May 8, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.