{"cve":"CVE-2026-42308","nvd":{"published":"2026-05-09T06:16:09.793","modified":"2026-07-24T21:10:00.143","status":"Analyzed","description":"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.","cvss_v4":{"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","score":5.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-190"],"references":["https://github.com/python-pillow/Pillow/releases/tag/12.2.0","https://github.com/python-pillow/Pillow/security/advisories/GHSA-wjx4-4jcj-g98j"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-42308","score":0.00114,"percentile":0.01437,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wjx4-4jcj-g98j","url":"https://osv.dev/vulnerability/GHSA-wjx4-4jcj-g98j","summary":"Pillow has an integer overflow when processing fonts","modified":"2026-09-10T03:50:47.950262681Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<12.2.0"],"fixed":["12.2.0"]}]},{"id":"PYSEC-2026-165","url":"https://osv.dev/vulnerability/PYSEC-2026-165","summary":"","modified":"2026-05-27T13:56:18.230226284Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<12.2.0"],"fixed":["12.2.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."]}