VDB
Sign up
MEDIUM6.7

PYSEC-2026-1793

Pillow buffer overflow vulnerability

Quick fix

PYSEC-2026-1793 — pillow: upgrade to the fixed version with the command below.

pip install --upgrade 'pillow>=10.3.0'

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pillow
Introduced in: 0Fixed in: 10.3.0
Fixpip install --upgrade 'pillow>=10.3.0'

References