Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.
CVSS Details
- CVSS 3.1 Base Score: 8.2
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade python3-pillowUpgrade python3-pillow-develUpgrade python3-pillow-tkUpgrade python3-pillow-doc | Aug 2, 2026 | Jul 29, 2026 |
| Amazon Linux Ami 2 | — | Upgrade python-pillow-tkUpgrade python-pillow-docUpgrade python-pillow-debuginfoUpgrade python-pillow-develUpgrade python-pillow-saneUpgrade python-pillow | Aug 5, 2026 | Aug 5, 2026 |
| Amazon_linux_2023 | — | Upgrade python3-pillow-tkUpgrade python3-pillowUpgrade python-pillow-debugsourceUpgrade python3-pillow-develUpgrade python-pillow-debuginfoUpgrade python3-pillow-tk-debuginfoUpgrade python3-pillow-debuginfo | Aug 10, 2026 | Jul 14, 2026 |
| Redhat_linux | — | Upgrade python3-pillow-tkUpgrade python3-pillowUpgrade python3-pillow-tk-debuginfoUpgrade python3-pillow-develUpgrade python3-pillow-debuginfoUpgrade python-pillow-debuginfoUpgrade python3-pillow-docUpgrade python-pillow-debugsource | Jul 20, 2026 | Jul 14, 2026 |
| Rocky_linux | — | Upgrade python3-pillow-tkUpgrade python-pillow-debugsourceUpgrade python3-pillow-debuginfoUpgrade python3-pillow-develUpgrade python-pillow-debuginfoUpgrade python3-pillowUpgrade python3-pillow-tk-debuginfo | Aug 3, 2026 | Jul 31, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub