Live threats

All CVEs / Python

CVE-2024-28219Python Pillow

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Apr 3, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-680
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pillow < 10.3.0 10.3.0 pip install "pillow>=10.3.0"
PyPI pillow < 10.3.0 10.3.0 pip install "pillow>=10.3.0"

Per OSV / GitHub Advisories (GHSA-44wm-f244-xhp3, PYSEC-2026-1793). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow< 10.3.0
debiandebian_linux10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.