Security mailing lists by PureSourceCode

CVE-2014-1932

MEDIUM 4.4CVSS 2.0

PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles

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.

Published
17 Apr 2014
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-59
Also known as
GHSA-x895-2wrm-hvp7PYSEC-2014-22
Sources
NVDJSONOSV GHSA-x895-2wrm-hvp7JSONOSV PYSEC-2014-22JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
OSV GitHub CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD python pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
<= 2.3.0
NVD pythonware python_imaging_library
cpe:2.3:a:pythonware:python_imaging_library:*:*:*:*:*:*:*:*
<= 1.1.7
OSV PyPI pillow < 2.3.1 2.3.1

References

History

  • 25 Nov 2026 20:18 UTC · NVD: first stored (published 17 Apr 2014)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Apr 2014)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.