Advisory

GHSA-8ghj-p4vj-mr35

Also known as: BIT-pillow-2023-44271, CVE-2023-44271, PYSEC-2023-227

Summary

Pillow Denial of Service vulnerability

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

High Basis: The source's own band: HIGH

Dates

Published
2023-11-03 06:36 UTC
Modified
2024-10-14 21:23 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences