Description
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-pillow | Pillow | < 12.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pillow | 12.3.0-1 | — |
| Debian 13 | pillow | No fix yet | — |
| Debian 12 | pillow | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | pillow | 12.1.1-2ubuntu1.4 | USN-8999-1 |
| Ubuntu 24.04 LTS | pillow | 10.2.0-1ubuntu1.4 | USN-8999-1 |
| Ubuntu 22.04 LTS | pillow | 9.0.1-1ubuntu0.6 | USN-8999-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | pillow +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | pillow | No fix yet | — |
| Ubuntu Pro 16.04 LTS | pillow | No fix yet | — |
| Ubuntu Pro 14.04 LTS | pillow | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | python-pillow +4 | 5.1.1-22.el8_10 | RHSA-2026:39127 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Satellite Capsule 6 | libsolv +1 | 1:0.7.20-7.el8sat | RHSA-2026:50223 |
| Red Hat Satellite Capsule 6 | openvox-agent | 8.24.1-3.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite Capsule 6 | openvox-server | 8.14.1-1.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite Capsule 6 | python-pillow +1 | 12.3.0-1.el8pc | RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite Capsule 6 | python-pyjwt +2 | 2.13.0-1.el8pc | RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite Capsule 6 | python3.12-pillow | 12.3.0-1.el9pc | RHSA-2026:50263, RHSA-2026:50221 |
| Red Hat Satellite Capsule 6 | python3.12-pyjwt +1 | 2.13.0-1.el9pc | RHSA-2026:50263 |
| Red Hat Satellite Capsule 6 | rubygem-faraday | 1.10.6-1.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite Capsule 6 | rubygem-nokogiri | 1.15.7-3.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | libsolv +1 | 1:0.7.20-7.el8sat | RHSA-2026:50223 |
| Red Hat Satellite 6 | openvox-agent | 8.24.1-3.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | openvox-server | 8.14.1-1.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | python-pillow +1 | 12.3.0-1.el8pc | RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | python-pyjwt +2 | 2.13.0-1.el8pc | RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | python3.12-pillow | 12.3.0-1.el9pc | RHSA-2026:50263, RHSA-2026:50221 |
| Red Hat Satellite 6 | python3.12-pyjwt +1 | 2.13.0-1.el9pc | RHSA-2026:50263 |
| Red Hat Satellite 6 | rubygem-faraday | 1.10.6-1.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | rubygem-katello | 4.14.0.21-1.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| Red Hat Satellite 6 | rubygem-nokogiri | 1.15.7-3.el8sat | RHSA-2026:50263, RHSA-2026:50223, RHSA-2026:50222 |
| RHEL 8.8 TUS | python-pillow +1 | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| RHEL 8.8 E4S | python-pillow +1 | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| RHEL 8.6 EUS Long Life | python-pillow +1 | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| RHEL 8.6 AUS | python-pillow +1 | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| RHEL 8.4 EUS Long Life | python-pillow +1 | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| RHEL 8.4 AUS | python-pillow +1 | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| Red Hat Ansible Automation Platform Inside 2 | receptor +1 | 1.6.7-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform Developer 2 | automation-controller +1 | 4.7.15-2.el9ap | RHSA-2026:50336 |
| Red Hat Ansible Automation Platform Developer 2 | receptor +1 | 1.6.7-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-controller +3 | 4.7.15-2.el9ap | RHSA-2026:50336 |
| Red Hat Ansible Automation Platform 2 | automation-controller-venv-tower | 4.6.31-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-eda-controller +4 | 1.1.21-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | automation-gateway-proxy +1 | 2.5.10-7.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-aiohttp | 3.14.1-2.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-daphne | 4.2.2-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-pillow | 12.3.0-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | python3.12-pyasn1 | 0.6.4-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
| Red Hat Ansible Automation Platform 2 | receptor +1 | 1.6.7-1.el8ap | RHSA-2026:50336, RHSA-2026:50319 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | python3-pillow +3 | 5.1.1-22.el8_10 | ALSA-2026:39127 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | python-pillow | 5.1.1-22.el8_10 | RLSA-2026:39127 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python-Pillow | 7.2.0-150300.3.27.1 | SUSE-SU-2026:2875-1 |
| SLES 15 SP6 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 15 SP5 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 15 SP4 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 3 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-Pillow | 11.3.0-160000.6.1 | SUSE-SU-2026:22626-1 |
| SLES for SAP 15 SP6 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES for SAP 15 SP5 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES for SAP 15 SP4 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLES 16.0 | python-Pillow | 11.3.0-160000.6.1 | SUSE-SU-2026:22626-1 |
| SLE HPC 15 SP5 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SLE HPC 15 SP4 | python-Pillow | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Pillow | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| openSUSE Leap 16.0 | python-Pillow | 11.3.0-160000.6.1 | openSUSE-SU-2026:21296-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3-pillow +2 | 9.4.0-2.amzn2023.0.9 | ALAS2023-2026-1985 |
| Amazon Linux 2 | python-pillow +4 | 2.0.0-23.gitd1c6db8.amzn2.0.19 | ALAS2-2026-3816 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | python3-pillow +3 | 5.1.1-22.el8_10 | ELSA-2026-39127 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | open-webui | 0.10.2-r1 | — |
| Wolfi rolling | superset-6.0 | 6.0.0-r13 | — |
| Wolfi rolling | superset-6.1 | 6.1.0-r6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | < 12.3.0 | 12.3.0 | GHSA-8v84-f9pq-wr9x |
Advisories 22
- USN-8999-1 pillow vulnerabilities Ubuntu Security Notices (USN) · Nov 5, 2026
- WID-SEC-2026-2301 Red Hat Enterprise Linux (python-pillow): Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Nov 4, 2026
- ALSA-2026:39127 Important: python-pillow security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2026:50319 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50336 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50223 Red Hat Security Advisory: Satellite 6.16.12 Async Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50263 Red Hat Security Advisory: Satellite 6.18.8 Async Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50222 Red Hat Security Advisory: Satellite 6.17.10 Async Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:50221 Red Hat Security Advisory: Satellite 6.19.3 Async Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:52551 Red Hat Security Advisory: python-pillow security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2026:48760 Red Hat Security Advisory: python-pillow security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2026:48759 Red Hat Security Advisory: python-pillow security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2026:39127 Red Hat Security Advisory: python-pillow security update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- SUSE-SU-2026:3268-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 28, 2026
- ALAS2-2026-3816 Important: python-pillow security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- ALAS2023-2026-1985 Important: python-pillow security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- SUSE-SU-2026:22626-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 17, 2026
- RLSA-2026:39127 Important: python-pillow security update Rocky Linux Security Advisories · Jul 15, 2026
- SUSE-SU-2026:2875-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 14, 2026
- ELSA-2026-39127 Important: python-pillow security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Jul 14, 2026
- openSUSE-SU-2026:21296-1 Security update for python-Pillow SUSE / openSUSE Security Updates · Jul 13, 2026
- openSUSE-SU-2026:11261-1 python313-Pillow-12.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 13, 2026