{"id":"CVE-2016-0740","aliases":["GHSA-hggx-3h72-49ww","PYSEC-2016-5"],"kind":"cve","tier":"cold","status":"published","title":"Pillow Buffer overflow in ImagingLibTiffDecode","description":"Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.","ai_summary":null,"severity":"medium","cvss":{"score":6.5,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"NVD"},"scores":[{"score":6.5,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"nvd"},{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-119"],"remote":true,"remote_unauth":true,"epss":{"score":0.02656,"percentile":0.86432,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"pillow","affected":"< 3.1.1","fixed":["3.1.1"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade pillow to 3.1.1 or later.","technologies":[],"references":[{"url":"https://security.gentoo.org/glsa/201612-52","kind":"vendor"},{"url":"http://www.debian.org/security/2016/dsa-3499","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-0740","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-hggx-3h72-49ww","kind":"vendor"},{"url":"https://github.com/python-pillow/Pillow/commit/6dcbf5bd96b717c58d7b642949da8d323099928e","kind":"patch"},{"url":"https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst","kind":"patch"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-5.yaml","kind":"other"},{"url":"https://github.com/python-pillow/Pillow","kind":"other"}],"workarounds":null,"vendors":["debian","python"],"products":["debian_linux","pillow"],"cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"],"published_at":"2016-04-13T16:00:00.000Z","modified_at":"2026-06-17T00:38:07.953Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-0740"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-hggx-3h72-49ww","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2016-5","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2016-0740","markdown":"https://flawdb.com/CVE-2016-0740.md","json":"https://flawdb.com/api/v1/entries/CVE-2016-0740"}}