{"id":"CVE-2016-2533","aliases":["DEBIAN-CVE-2016-2533","DLA-422-1","DSA-3499-1","EUVD-2016-0020","GHSA-3c5c-7235-994j","PYSEC-2016-19","SUSE-SU-2019:2334-1","SUSE-SU-2020:1194-1","UBUNTU-CVE-2016-2533","USN-3090-1"],"status":"published","title":"Pillow buffer overflow in ImagingPcdDecode","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04031,"percentile":0.90666,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2016-02-21T00:00:00Z","modified":"2026-10-24T14:12:02Z","fixes":[{"ecosystem":"PyPI","package":"pillow","fixed_in":["3.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"pillow","fixed_in":["3.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pillow","fixed_in":["3.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pillow","fixed_in":["3.1.1-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"pillow","fixed_in":["2.3.0-1ubuntu3.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-imaging","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.7-2+deb6u2"}]}],"versions":["1.1.7-2"],"bundled":2},{"source":"osv","ecosystem":"Debian:8","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1-2+deb8u2"}]}],"versions":["2.6.1-2","2.6.1-2+deb8u1"],"bundled":3},{"source":"osv","ecosystem":"PyPI","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"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"]},{"source":"osv","ecosystem":"PyPI","package":"pillow","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"5bdf54b5a76b54fb00bd05f2d733e0a4173eefc9"},{"fixed":"ae453aa18b66af54e7ff716f4ccb33adca60afd4"}]},{"type":"ECOSYSTEM","events":[{"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"]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 7","package":"python-Pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-4.9.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 4","package":"python-Pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-4.9.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 5","package":"python-Pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-3.6.1"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1ubuntu3.2"}]}],"versions":["2.2.1-1ubuntu2","2.2.1-2ubuntu1","2.2.1-3ubuntu2","2.2.1-3ubuntu3","2.2.1-3ubuntu4","2.2.1-3ubuntu6","2.3.0-1ubuntu1","2.3.0-1ubuntu2","2.3.0-1ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"pillow","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-1ubuntu3.2"}]}],"versions":["2.2.1-1ubuntu2","2.2.1-2ubuntu1","2.2.1-3ubuntu2","2.2.1-3ubuntu3","2.2.1-3ubuntu4","2.2.1-3ubuntu6","2.3.0-1ubuntu1","2.3.0-1ubuntu2","2.3.0-1ubuntu3"],"bundled":5}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"python","product":"pillow"},{"vendor":"python_imaging_project","product":"python_imaging"}],"references":[{"url":"https://security.gentoo.org/glsa/201612-52","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/22/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://github.com/python-pillow/Pillow/commit/5bdf54b5a76b54fb00bd05f2d733e0a4173eefc9#diff-8ff6909c159597e22288ad818938fd6b","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"http://www.debian.org/security/2016/dsa-3499","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2016/02/02/5","tags":["mailing-list","x_refsource_MLIST","x_transferred","web","report"]},{"url":"https://github.com/python-pillow/Pillow/commit/ae453aa18b66af54e7ff716f4ccb33adca60afd4#diff-8ff6909c159597e22288ad818938fd6b","tags":["x_refsource_CONFIRM","x_transferred","fix","web"]},{"url":"https://github.com/python-pillow/Pillow/pull/1706","tags":["x_refsource_CONFIRM","x_transferred","fix","web","report"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-2533","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3c5c-7235-994j","tags":["advisory"]},{"url":"https://github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst?plain=1#L53","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-19.yaml","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-2533","tags":["advisory"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-20192334-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/967970","tags":["report"]},{"url":"https://bugzilla.suse.com/975500","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-2533","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-4009","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2020/suse-su-20201194-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-2533","tags":["report"]},{"url":"https://github.com/python-pillow/Pillow/commit/ae453aa18b66af54e7ff716f4ccb33adca60afd4","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3080-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-2533","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3090-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2014-3589","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2014-9601","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-0740","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-0775","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-2533","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T16:00:00Z","modified":"2024-08-05T23:32:20.626Z","updated_at":"2026-11-02T14:33:33.07583Z"}],"euvd":[{"id":"EUVD-2016-0020","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T16:00:00Z","modified":"2024-08-05T23:32:20Z","updated_at":"2026-11-03T02:22:53.17975Z"}],"ghsa":[{"id":"GHSA-3c5c-7235-994j","title":"Pillow buffer overflow in ImagingPcdDecode","description":"Buffer overflow in the `ImagingPcdDecode` function in `PcdDecode.c` in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2018-07-24T20:15:13Z","modified":"2024-10-08T13:09:01Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:38:08.742903Z"}],"nvd":[{"id":"CVE-2016-2533","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T16:59:14.6Z","modified":"2026-06-17T00:44:14.59Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:23.795791Z"}],"osv":[{"id":"CVE-2016-2533","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T16:59:14.6Z","modified":"2026-10-24T14:12:02.605963871Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:02.114472Z"},{"id":"DEBIAN-CVE-2016-2533","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T16:59:14.6Z","modified":"2026-09-22T07:01:51.999281483Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"GHSA-3c5c-7235-994j","title":"Pillow buffer overflow in ImagingPcdDecode","description":"Buffer overflow in the `ImagingPcdDecode` function in `PcdDecode.c` in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2018-07-24T20:15:13Z","modified":"2026-04-09T18:26:05.864111202Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"4.0","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"UBUNTU-CVE-2016-2533","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T00:00:00Z","modified":"2026-02-04T03:20:47.706464Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:11.872222Z"},{"id":"DLA-422-1","title":"python-imaging - security update","status":"published","published":"2016-02-21T00:00:00Z","modified":"2026-03-09T02:10:57.709644Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"DSA-3499-1","title":"pillow - security update","status":"published","published":"2016-02-28T00:00:00Z","modified":"2026-03-09T01:21:52.141324Z","updated_at":"2026-11-02T15:46:16.199525Z"},{"id":"PYSEC-2016-19","description":"Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.","status":"published","published":"2016-04-13T16:59:00Z","modified":"2026-04-09T18:24:24.120962Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"SUSE-SU-2019:2334-1","title":"Security update for python-Pillow","description":"This update for python-Pillow fixes the following issues:\n\n- CVE-2016-2533: Fixed a buffer overflow in the PCD decoding (bsc#967970).\n- CVE-2016-4009: Fixed an interger overflow in ImagingResampleHorizontal() (bsc#975500).\n","status":"published","published":"2019-09-09T10:08:24Z","modified":"2026-02-04T02:39:38.518502Z","updated_at":"2026-11-02T15:53:46.44301Z"},{"id":"SUSE-SU-2020:1194-1","title":"Security update for python-Pillow","description":"This update for python-Pillow fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2016-2533: Fixed an integer overflow in the ImagingResampleHorizontal function (bsc#967970).\n- CVE-2016-4009: Fixed a buffer overflow in the PCD decoder (bsc#975500).\n","status":"published","published":"2020-05-06T09:48:24Z","modified":"2026-02-04T03:52:38.630152Z","updated_at":"2026-11-02T15:53:47.634847Z"},{"id":"USN-3090-1","title":"Pillow vulnerabilities","description":"\nIt was discovered that a flaw in processing a compressed text chunk in\na PNG image could cause the image to have a large size when decompressed,\npotentially leading to a denial of service. (CVE-2014-9601)\n\nAndrew Drake discovered that Pillow incorrectly validated input. A remote\nattacker could use this to cause Pillow to crash, resulting in a denial\nof service. (CVE-2014-3589)\n\nEric Soroos discovered that Pillow incorrectly handled certain malformed\nFLI, Tiff, and PhotoCD files. A remote attacker could use this issue to\ncause Pillow to crash, resulting in a denial of service.\n(CVE-2016-0740, CVE-2016-0775, CVE-2016-2533)\n\n","status":"published","published":"2016-09-27T19:55:34Z","modified":"2026-02-10T04:41:02Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
