Advisory

GHSA-44wm-f244-xhp3

Also known as: BIT-pillow-2024-28219, CVE-2024-28219, PYSEC-2026-1793

Summary

Pillow buffer overflow vulnerability

Details

In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-04-03 03:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

pillow

PyPI · All systems

Affected

  • introduced 0, fixed 10.3.0 (ecosystem)

Fixed versions

10.3.0

Fix

  • Fixed version 10.3.0
    pip install --upgrade pillow==10.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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences