{"id":"CVE-2026-42308","published":"2026-05-09T04:09:01Z","modified":"2026-05-11T15:03:00Z","title":"Pillow: Integer overflow when processing fonts","vendor":"python-pillow","product":"Pillow","tier":"tail","description":{"text":"Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00114,"percentile":0.01505,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0","tags":["x_refsource_MISC"]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.3},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"python-pillow","affectedVersions":[{"vendor":"python-pillow","product":"Pillow","versions":["< 12.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T15:02:54.644937Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pillow","vulnerableRanges":["<12.2.0"],"patched":["12.2.0"],"from":["GHSA-wjx4-4jcj-g98j","PYSEC-2026-165"],"provenance":"source"}],"summary":{"text":"The flaw is an integer overflow in the font-processing code of Pillow, the Python imaging library, which occurs when a font's per-glyph advance is excessively large and Pillow tracks the current position. An attacker with local access and no privileges, and no user interaction or special configuration needed, can trigger the overflow, which may cause a denial of service; the issue is fixed in Pillow 12.2.0 and later.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:07Z"},"euvd":{"id":"EUVD-2026-28900","exploited":false,"provenance":"source"}}