CVE-2014-1932
mediumpriority · track · 18EPSS 0.005 · 42 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.7–7.7
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- pythonware python imaging library≤ 1.1.7nvdUScpe:2.3:a:pythonware:python_imaging_library:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-x895-2wrm-hvp7PIL and Pillow Vulnerable to Symlink Attack on Tmpfiles2022-05-17ghsa · osvUS
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.
- PYSEC-2014-222014-04-17vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2014/02/11/1cnnvd
- http://www.ubuntu.com/usn/USN-2168-1cnnvd
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059cnnvd
- https://github.com/python-imaging/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7cnnvd
- https://github.com/python-pillow/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7Patchcnnvd
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.htmlenisa_euvd
- http://www.openwall.com/lists/oss-security/2014/02/11/1enisa_euvd
- http://www.securityfocus.com/bid/65511enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan