{"id":"CVE-2021-25293","aliases":["CVE-2021-25293","GHSA-p43w-g3c5-g5mq","BIT-PILLOW-2021-25293","PYSEC-2021-39"],"related":[],"kind":"vulnerability","state":"published","title":"Out of bounds read in Pillow","summary":"An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.","source":"cvelist"},{"lang":"es","text":"Se detectó un problema en Pillow versiones anteriores a 8.1.1.&#xa0;Se presenta una lectura fuera de límites en el archivo SGIRleDecode.c","source":"nvd"}],"published":"2021-03-19T03:30:46.000Z","modified":"2026-09-08T08:48:18.512Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.3.0","status":"affected","fixed":"8.1.1"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"8.1.1"}],"vendor":"python","product":"pillow","cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"8.1.1"}],"ecosystem":"PyPI","package":"pillow","purl":"pkg:pypi/pillow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.1.1"}],"ecosystem":"Bitnami","package":"pillow","purl":"pkg:bitnami/pillow","source":"bitnami"}],"references":[{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html","tags":["advisory","release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://security.gentoo.org/glsa/202107-33","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25293","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/python-pillow/Pillow/commit/4853e522bddbec66022c0915b9a56255d0188bf9","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/python-pillow/Pillow/commit/f891baa604636cd2506a9360d170bc2cf4963cc5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-p43w-g3c5-g5mq","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-39.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25293","url":"https://www.cve.org/CVERecord?id=CVE-2021-25293","licence":"CVE Terms of Use","modified":"2024-08-03T19:56:11.179Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p43w-g3c5-g5mq","url":"https://github.com/advisories/GHSA-p43w-g3c5-g5mq","licence":"CC-BY-4.0","modified":"2024-10-09T20:24:39.871Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25293","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25293","licence":"Public domain","modified":"2026-06-17T03:41:46.877Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-39","url":"https://osv.dev/vulnerability/PYSEC-2021-39","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:57.774Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PILLOW-2021-25293","url":"https://osv.dev/vulnerability/BIT-PILLOW-2021-25293","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.512Z"}],"updatedAt":"2026-11-25T22:58:00.342Z","epss":{"score":0.01601,"percentile":0.76517,"date":"2026-12-01T12:00:22.000Z"}}