Live threats

All CVEs / Python

CVE-2014-1932Python Pillow

Medium 4.4

Priority
26
CVSS 2.0
4.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 35
Auth required
Yes
Published
Apr 17, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
AV:L/AC:M/Au:N/C:P/I:P/A:P

What happens

The (1) load_djpeg function in JpegImagePlugin.py, (2) Ghostscript function in EpsImagePlugin.py, (3) load function in IptcImagePlugin.py, and (4) _copy function in Image.py in Python Image Library (PIL) 1.1.7 and earlier and Pillow before 2.3.1 do not properly create temporary files, which allow local users to overwrite arbitrary files and obtain sensitive information via a symlink attack on the temporary file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pillow.

Affected packages

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

Per OSV / GitHub Advisories (GHSA-x895-2wrm-hvp7, PYSEC-2014-22). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonpillow≤ 2.3.0
pythonwarepython_imaging_library≤ 1.1.7

Official sources

References

Links published by the sources. Open them with care.