CVE-2014-1932
MEDIUM 4.4CVSS 2.0PIL 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python | pillowcpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* |
<= 2.3.0 | |
| NVD | pythonware | python_imaging_librarycpe:2.3:a:pythonware:python_imaging_library:*:*:*:*:*:*:*:* |
<= 1.1.7 | |
| OSV | PyPI | pillow | < 2.3.1 | 2.3.1 |
References
- http://lists.opensuse.org/opensuse-updates/2014-05/msg00002.html · WEB
- http://www.openwall.com/lists/oss-security/2014/02/11/1 · WEB
- http://www.securityfocus.com/bid/65511 · WEB
- http://www.ubuntu.com/usn/USN-2168-1 · WEB, ADVISORY
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737059 · WEB
- https://github.com/python-imaging/Pillow/commit/4e9f367dfd3f04c8f5d23f7f759ec12782e10ee7 · Exploit, Patch, WEB, FIX
- https://security.gentoo.org/glsa/201612-52 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2014-1932 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2014-22.yaml · WEB
- https://github.com/python-pillow/Pillow · PACKAGE
- https://web.archive.org/web/20170103151725/http://www.securityfocus.com/bid/65511 · WEB
- https://github.com/advisories/GHSA-x895-2wrm-hvp7 · ADVISORY
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)