{"id":"BIT-pillow-2026-54059","summary":"Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading","details":"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.","aliases":["CVE-2026-54059","GHSA-8v84-f9pq-wr9x","PYSEC-2026-2253"],"modified":"2026-07-13T07:26:49.281845979Z","published":"2026-07-08T11:34:09.383Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54059"}],"affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"12.3.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2026-54059.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}],"schema_version":"1.7.5"}