{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2016-4009","published":"2016-04-13T16:59:25.353000Z","last_modified":"2026-06-17T00:46:43.993000Z","status":"Modified","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","part":"a","vendor":"python","product":"pillow","version_end_including":"3.1.0"}],"cpes_truncated":false,"vendors":["python"],"products":["python/pillow"],"epss":{"score":0.07871,"percentile":0.95473,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hvr8-466p-75rh","ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[{"introduced":"0","fixed":"3.1.1"}],"versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.1.0","3.1.0.rc1","3.1.0rc1"],"versions_truncated":false},{"advisory":"PYSEC-2016-7","ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[{"introduced":"0","fixed":"3.1.1"}],"versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","2.0.0","2.1.0","2.2.0","2.2.1","2.2.2","2.3.0","2.3.1","2.3.2","2.4.0","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.7.0","2.8.0","2.8.1","2.8.2","2.9.0","3.0.0","3.1.0","3.1.0.rc1","3.1.0rc1"],"versions_truncated":false}],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2016-4009/","html_en":"/en/cve/CVE-2016-4009/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-4009","cve_org":"https://www.cve.org/CVERecord?id=CVE-2016-4009"},"untrusted":{"vendor_name":"Python","product_name":"Pillow","desc_en":"Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.","affected":[],"references":[{"url":"http://www.securityfocus.com/bid/86064","tags":[]},{"url":"https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst","tags":["Patch","Vendor Advisory"]},{"url":"https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e","tags":["Patch"]},{"url":"https://github.com/python-pillow/Pillow/pull/1714","tags":["Patch"]},{"url":"https://security.gentoo.org/glsa/201612-52","tags":[]}]}}