{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2016-4009","id":"CVE-2016-4009","title":"Pillow Integer overflow in ImagingResampleHorizontal","description":"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.","descriptionLong":"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.","published":"2016-04-13T16:00:00.000Z","updated":"2026-10-20T13:14:38.946806697Z","reserved":"2016-04-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"GitHub"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<3.1.1"],"fixed":["3.1.1"],"advisory":"GHSA-hvr8-466p-75rh"}],"cwes":["CWE-119"],"aliases":["GHSA-hvr8-466p-75rh","PYSEC-2016-7"],"references":[{"url":"https://security.gentoo.org/glsa/201612-52","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"https://github.com/python-pillow/Pillow/pull/1714","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"https://github.com/python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"http://www.securityfocus.com/bid/86064","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4009","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hvr8-466p-75rh","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-7.yaml","tags":["web"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.07871,"epssPercentile":0.94812,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2016-4009","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4009","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2016-4009","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hvr8-466p-75rh","ok":true,"note":"GHSA-hvr8-466p-75rh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2016-4009","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}