CVE-2026-59203

Source
https://cve.org/CVERecord?id=CVE-2026-59203
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59203.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-59203
Aliases
Downstream
Published
2026-07-14T15:43:58.333Z
Modified
2026-07-16T03:48:44.335114329Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service
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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59203.json"
}
References

Affected packages

Git / github.com/python-pillow/pillow

Affected ranges

Type
GIT
Repo
https://github.com/python-pillow/pillow
Events
Database specific
{
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "12.0.0"
        },
        {
            "fixed": "12.3.0"
        }
    ]
}

Affected versions

12.*
12.0.0
12.1.0
12.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59203.json"