CVE-2026-54059
2 advisories.
PyPI/pillow CVE-2026-54059: high 7.5
Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
Action: Upgrade pillow to 12.3.0 or later.
pip install pillow==12.3.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 12.3.0 | - |
Fixed versions
| 12.3.0 |
Sources
- osv: GHSA-8v84-f9pq-wr9x
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x
- https://nvd.nist.gov/vuln/detail/CVE-2026-54059
- https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2026-2253.yaml
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst
CVE-2026-54059 · published · modified · JSON
PyPI/pillow CVE-2026-54059: high 7.5
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
Action: Upgrade pillow to 12.3.0 or later.
pip install pillow==12.3.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 12.3.0 | - |
Fixed versions
| 12.3.0 |
Sources
- osv: PYSEC-2026-2253
- 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-8v84-f9pq-wr9x
CVE-2026-54059 · published · modified · JSON