Advisory

PYSEC-2026-3451

Also known as: BIT-pillow-2026-59199, CVE-2026-59199, GHSA-6r8x-57c9-28j4

Summary

The record has no summary.

Details

Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). 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 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