{"cve":"CVE-2021-28678","nvd":{"published":"2021-06-02T16:15:08.860","modified":"2026-06-17T03:46:46.847","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-345"],"references":["https://github.com/python-pillow/Pillow/pull/5377","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MQHA5HAIBOYI3R6HDWCLAGFTIQP767FL/","https://pillow.readthedocs.io/en/stable/releasenotes/8.2.0.html#cve-2021-28678-fix-blp-dos","https://security.gentoo.org/glsa/202107-33","https://github.com/python-pillow/Pillow/pull/5377"],"products":["fedoraproject:fedora","python:pillow"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-28678","score":0.00732,"percentile":0.54325,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hjfx-8p6c-g7gx","url":"https://osv.dev/vulnerability/GHSA-hjfx-8p6c-g7gx","summary":"Insufficient Verification of Data Authenticity in Pillow","modified":"2024-10-14T21:48:01.061332Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=5.1.0 <8.2.0"],"fixed":["8.2.0"]}]},{"id":"PYSEC-2021-94","url":"https://osv.dev/vulnerability/PYSEC-2021-94","summary":"","modified":"2023-12-06T01:01:01.984751Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":["<8.2.0"],"fixed":["8.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}