CVE-2026-55379
Pillow is a Python imaging library
- Risk score
- 79/100
- CVSS
- 7.5 v3.1
- Exploit chance (30 days)
- 0.5%
- Published
- 6 Jul 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Pillow's bdf_char() function in PIL/BdfFontFile.py does not check for decompression bombs, allowing an attacker to allocate excessive memory. An attacker could exploit this to cause a denial of service.
- Affected
- {'product': 'pillow', 'affected_versions': 'prior to 12.3.0'}
- Fix
- Upgrade to version 12.3.0 or later
- Exploitation
- Public proof of concept
Story map
At a glance
Pillow: Red, act today. Pillow has a vulnerability in its Ghostscript call, allowing argument injection, which could lead to remote code execution. An attacker could inject Ghostscript arguments by controlling the filename.
The flaws
- CVE-2026-55379: Pillow is a Python imaging library (CVSS 7.5 · EPSS 1%)
- CVE-2026-112900: Argument Injection in Ghostscript call, potentially leading into RCE (CVSS 9.8 · EPSS 1%)
- CVE-2026-112393: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO (CVSS 9.8 · EPSS 1%)
- CVE-2026-112403: Heap buffer overflow in ImagingJpegDecode (CVSS 9.8 · EPSS 1%)
The fix
Upgrade Pillow: 12.3.0 · 13.0.0 or later on your release line
Who is exposed: {'products': ['Pillow'], 'packages': ['Pillow'], 'versions': ['>= 2.6.0, < 13.0.0']}
Where it stands
- Public proof of concept
- 1 outlet covering it
How it unfolded
- 23 Oct, The Hacker News (press): Critical Flaw in Python’s Popular Pillow Image Library Allows Code Execution via a Crafted Image
- 4 Nov, Ubuntu security notices (official): USN-8999-1: Pillow vulnerabilities
Connects to
- Same weakness: CWE-789 (CWE-789). 68 other warnings in 30 days
- Same product: Earlier Pillow warnings. 45 in the last 90 days
Why it is Amber
- CVSS 7.5 high
- Public exploit or proof of concept referenced
- Remotely exploitable without logging in
- On your watchlist: python
- Named in a government or vendor bulletin
Government and vendor bulletins
References
- https://ubuntu.com/security/notices/USN-8999-1
- https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst
- https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-45hq-cxwh-f6vc
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-45hq-cxwh-f6vc
Original description
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.
Last activity 4 Nov 2026. Patch Forecast updates every hour.