{"cve":"CVE-2026-54059","nvd":{"published":"2026-07-06T19:17:08.127","modified":"2026-10-25T20:10:00.147","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-789"],"references":["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","https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-25T23:44:34.550481224+00:00"},"epss":{"cve":"CVE-2026-54059","score":0.0041,"percentile":0.34924,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-8v84-f9pq-wr9x","url":"https://osv.dev/vulnerability/GHSA-8v84-f9pq-wr9x","summary":"Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading","modified":"2026-09-10T03:51:11.229114807Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<12.3.0"],"fixed":["12.3.0"]}]},{"id":"PYSEC-2026-2253","url":"https://osv.dev/vulnerability/PYSEC-2026-2253","summary":"","modified":"2026-07-13T07:26:49.281845979Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<12.3.0"],"fixed":["12.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}