Advisory

PYSEC-2023-227

Also known as: BIT-pillow-2023-44271, CVE-2023-44271, GHSA-8ghj-p4vj-mr35

Summary

The record has no summary.

Details

An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.

Severity

Not rated by the source.

Dates

Published
2023-11-03 05:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 10.0.0 (ecosystem)

Fixed versions

10.0.0

Fix

  • Fixed version 10.0.0
    pip install --upgrade pillow==10.0.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