Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-pillow | Pillow | >= 12.0.0, < 12.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pillow | 12.3.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | pillow | 12.1.1-2ubuntu1.4 | USN-8999-1 |
| Ubuntu 24.04 LTS | pillow | 10.2.0-1ubuntu1.4 | USN-8999-1 |
| Ubuntu 22.04 LTS | pillow | 9.0.1-1ubuntu0.6 | USN-8999-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | open-webui | 0.10.2-r1 | — |
| Wolfi rolling | superset-6.0 | 6.0.0-r13 | — |
| Wolfi rolling | superset-6.1 | 6.1.0-r6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pillow | >= 12.0.0, < 12.3.0 | 12.3.0 | GHSA-pg7v-jwj7-p798 |
Advisories 1
- USN-8999-1 pillow vulnerabilities Ubuntu Security Notices (USN) · Nov 5, 2026