# CVE-2021-25293

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 8.1.1 (CNA); fix release not confirmed
- Status: published
- Published: 2021-03-19 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-25293, GHSA-p43w-g3c5-g5mq, BIT-pillow-2021-25293, PYSEC-2021-39, UBUNTU-CVE-2021-25293, DEBIAN-CVE-2021-25293
- Record: https://cvemate.com/vulnerability/CVE-2021-25293 · JSON: https://cvemate.com/vulnerability/CVE-2021-25293/json

## Description

```text
An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.601%, percentile 76.643%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-pillow (Alpine Linux): \< 8.1.2-r0
- debian pillow (Debian): \< 8.1.1-1
- ubuntu pillow (Ubuntu): \< 5.1.0-1ubuntu0.5 \| \< 7.0.0-4ubuntu0.3
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- PyPI pillow (PyPI): ≥ 4.3.0, \< 8.1.1 \| \< 8.1.1
- python pillow: \< 8.1.1

## References

- <https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html>
- <https://security.gentoo.org/glsa/202107-33>
- <https://security.alpinelinux.org/vuln/CVE-2021-25293>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25293>
- <https://github.com/python-pillow/Pillow/commit/4853e522bddbec66022c0915b9a56255d0188bf9>
- <https://github.com/python-pillow/Pillow/commit/f891baa604636cd2506a9360d170bc2cf4963cc5>
- <https://github.com/advisories/GHSA-p43w-g3c5-g5mq>
- <https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-39.yaml>
- <https://github.com/python-pillow/Pillow>
- <https://ubuntu.com/security/CVE-2021-25293>
- <https://ubuntu.com/security/notices/USN-4763-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-25293>
- <https://security-tracker.debian.org/tracker/CVE-2021-25293>

---

Data as of 2026-12-05T04:58:41.938Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
