{"schema_version":"1.9.0","id":"BIT-pillow-2021-28678","published":"2024-03-06T11:03:14.703Z","modified":"2026-09-08T08:48:18.537435447Z","aliases":["CVE-2021-28678","GHSA-hjfx-8p6c-g7gx","PYSEC-2021-94"],"details":"An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.","affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.2.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2021-28678.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/pull/5377"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/"},{"type":"ADVISORY","url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28678-fix-blp-dos"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202107-33"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28678"}],"database_specific":{"cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"],"severity":"Medium"}}