Skip to content
Heist/ feed
Back to feed
HighFix available

pillow — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-59203

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.

Products
pillow
Affected versions
11.1.0-5, 11.2.1-1, 11.3.0-1, 12.0.0-1, 12.1.0-1, 12.1.1-1, 12.1.1-2, 12.2.0-1
Fixed versions
12.3.0-1
CVEs
CVE-2026-59203
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:52 UTC · Revision 2

Source evidence

DEBIAN-CVE-2026-59203

core-osv · Original source

Published 14 Jul 2026, 16:17 UTC

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.

osv:DEBIAN-CVE-2026-59203

pillow

Fixed versions: 12.3.0-1

Complete source record
{
  "id": "dee86f5afa95bf75b982e234dddbc3129898c9db1770d39e7d38266f53936b6f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-59203",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-59203",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-59203",
    "products": [
      {
        "name": {
          "value": "pillow",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "12.3.0-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "11.1.0-5",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "11.2.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "11.3.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "12.0.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "12.1.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "12.1.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "12.1.1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "12.2.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-59203",
      "aliases": [
        "DEBIAN-CVE-2026-59203"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "12.3.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "pillow",
            "purl": "pkg:deb/debian/pillow?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "11.1.0-5",
            "11.2.1-1",
            "11.3.0-1",
            "12.0.0-1",
            "12.1.0-1",
            "12.1.1-1",
            "12.1.1-2",
            "12.2.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-59203.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-25T09:47:27.719957124Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-59203"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-59203"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-59203",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 445157,
  "published_at": "2026-07-14T16:17:02.063+00:00"
}