Red Hat Security Advisory: python-pillow security update
🔗 CVE IDs covered (4)
📋 Description
CVE-2026-54059 — python-pillow: Pillow: Denial of Service via crafted PCF font data CVE-2026-54060 — python-pillow: Pillow: Denial of Service via excessive memory allocation when processing font files CVE-2026-55379 — python-pillow: Pillow: Denial of Service via crafted BDF font file CVE-2026-55380 — python-pillow: Pillow: Denial of Service via crafted GD 2.x image file
🎯 Affected products14
- Red Hat Enterprise Linux AppStream AUS (v.8.6)
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- python-pillow-0:5.1.1-20.el8_6.src as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- python-pillow-0:5.1.1-20.el8_6.src as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- python-pillow-debuginfo-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- python-pillow-debuginfo-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- python-pillow-debugsource-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- python-pillow-debugsource-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- python3-pillow-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- python3-pillow-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- python3-pillow-debuginfo-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- python3-pillow-debuginfo-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
- python3-pillow-tk-debuginfo-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream AUS (v.8.6)
- python3-pillow-tk-debuginfo-0:5.1.1-20.el8_6.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6)
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Do not load PCF fonts from untrusted sources. If PCF font loading is required, validate font file dimensions before passing them to Pillow, or upgrade to Pillow 12.3.0 or later which includes the fix for this vulnerability. Workaround: Do not load BDF font files from untrusted sources. Applications that only process standard image formats (PNG, JPEG, etc.) and do not use BdfFontFile or ImageFont.load() with BDF files are not affected. Workaround: Avoid processing untrusted GD 2.x image files with PIL.GdImageFile.open(). Use Image.open() instead, which includes decompression bomb protections for supported formats. If GdImageFile must be used, validate the image dimensions before calling load(). Restricting accepted image formats at the application boundary to only those explicitly needed can reduce exposure.
🔗 References (7)
- selfhttps://access.redhat.com/errata/RHSA-2026:48760
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2497452
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2497455
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2497464
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2497466
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_48760.json