{"id":"UBUNTU-CVE-2026-59203","details":"Pillow is a Python imaging library. From 12.0.0 through 12.2.0, Pillow's EPS parser in PIL/EpsImagePlugin.py accepts a negative byte count in the %%BeginBinary directive, allowing a crafted EPS file to cause Image.open() to seek backwards to the same directive and parse it repeatedly in an infinite loop. This issue is fixed in version 12.3.0.","modified":"2026-09-21T21:39:52.092955949Z","published":"2026-07-14T16:17:00Z","upstream":["CVE-2026-59203"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59203"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-59203"},{"type":"REPORT","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pg7v-jwj7-p798"},{"type":"REPORT","url":"https://github.com/python-pillow/Pillow/pull/9708"},{"type":"REPORT","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}],"affected":[{"package":{"name":"pillow","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/pillow?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["11.3.0-1ubuntu1","11.3.0-1ubuntu2","12.0.0-1ubuntu1","12.1.1-1ubuntu1","12.1.1-2ubuntu1","12.1.1-2ubuntu1.1","12.1.1-2ubuntu1.2","12.1.1-2ubuntu1.3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-pil","binary_version":"12.1.1-2ubuntu1.3"},{"binary_name":"python3-pil.imagetk","binary_version":"12.1.1-2ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59203.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}