CVE-2026-54059
published high CVSS 3.1 · 7.5Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow< 12.3.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3816 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1985 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | python3-pillow | Advisory build | 5.1.1-22.el8_10 | ALSA-2026:39127 |
| Alpine Linux | edge | py3-pillow | Fixed | 12.3.0-r0 | Package fix record |
| Oracle Linux | 8 | python3-pillowaarch64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | python3-pillow-devel | Advisory build | 5.1.1-22.el8_10 | ALSA-2026:39127 |
| AlmaLinux | 8 | python3-pillow-doc | Advisory build | 5.1.1-22.el8_10 | ALSA-2026:39127 |
| AlmaLinux | 8 | python3-pillow-tk | Advisory build | 5.1.1-22.el8_10 | ALSA-2026:39127 |
| Oracle Linux | 8 | python3-pillowx86_64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Oracle Linux | 8 | python3-pillow-develaarch64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Oracle Linux | 8 | python3-pillow-develx86_64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Oracle Linux | 8 | python3-pillow-docaarch64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Oracle Linux | 8 | python3-pillow-docx86_64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Oracle Linux | 8 | python3-pillow-tkaarch64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Oracle Linux | 8 | python3-pillow-tkx86_64 | Advisory build | 0:5.1.1-22.el8_10 | ELSA-2026-39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillowsrc | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoi686 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfoppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfos390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debuginfox86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcei686 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceppc64le | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourceppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsources390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python-pillow-debugsourcex86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowi686 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowppc64le | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillows390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillowx86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoi686 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoppc64le | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfoppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfos390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-debuginfox86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develi686 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-devels390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-develx86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-docnoarch | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tkaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tkppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tks390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tkx86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoaarch64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoi686 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoppc64le | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfoppc64le | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfos390x | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-15.el8_4.2 | RHSA-2026:52551 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-20.el8_6 | RHSA-2026:48760 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-20.el8_8 | RHSA-2026:48759 |
| Red Hat Enterprise Linux | RHEL-8 | python3-pillow-tk-debuginfox86_64 | Advisory build | 5.1.1-22.el8_10 | RHSA-2026:39127 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.25.1 | SUSE-SU-2026:3268-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowaarch64 | Advisory build | 7.2.0-150300.3.27.1 | SUSE-SU-2026:2875-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowppc64le | Advisory build | 7.2.0-150300.3.27.1 | SUSE-SU-2026:2875-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillows390x | Advisory build | 7.2.0-150300.3.27.1 | SUSE-SU-2026:2875-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowx86_64 | Advisory build | 7.2.0-150300.3.27.1 | SUSE-SU-2026:2875-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | < 12.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
3Provider assertions
2GitHub_M · cna
Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f3d0405cadc87bc418bbfc9eea1de998c7b800c91a153ef4cbe5d7071d3a669e
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record