{"schemaVersion":3,"id":"GHSA-4FX9-VC88-Q2XC","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Infinite loop in Pillow\n\nJpegImagePlugin may append an EOF marker to the end of a truncated file, so that the last segment of the data will still be processed by the decoder.\n\nIf the EOF marker is not detected as such however, this could lead to an infinite loop where JpegImagePlugin keeps trying to end the file.","dates":{"published":"2022-03-11T23:39:27.000Z","modified":"2024-12-05T05:35:12.297Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"PyPI","product":"pillow","name":"pillow","label":"pillow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pillow","purlType":"pypi","versions":[{"text":"< 9.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.0.0","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/python-pillow/Pillow/commit/baae9ec4b67c68e3adaf1208cf54e8de5e38a6fd","label":"github.com/python-pillow/Pillow/commit/baae9ec4b67c68e3adaf1208cf54e8de5e38a6fd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/python-pillow/Pillow","label":"github.com/python-pillow/Pillow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#ensure-jpegimageplugin-stops-at-the-end-of-a-truncated-file","label":"pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html","hostname":"pillow.readthedocs.io","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-03-11T23:39:27.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-12-05T05:35:12.297Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:36:32.840Z","stale":false,"partial":false}}