Advisory

PYSEC-2026-3452

Also known as: BIT-pillow-2026-59203, CVE-2026-59203, GHSA-pg7v-jwj7-p798

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-14 16:17 UTC
Modified
2026-07-15 20:11 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 12.0.0, fixed 12.3.0 (ecosystem)

Fixed versions

12.3.0

Fix

  • Fixed version 12.3.0
    pip install --upgrade pillow==12.3.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences