Advisory

PYSEC-2026-1793

Also known as: BIT-pillow-2024-28219, CVE-2024-28219, GHSA-44wm-f244-xhp3

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

Medium Basis: CVSS v3 score 6.7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:57 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: PyPA Advisory Database · CC BY 4.0

Sources & licences