Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-25293

python-pillow: Out-of-bounds read in SGI RLE image reader

Overview

Published
19 Mar 2021
Modified
17 Jun 2026
High CVE
2 Registry packages
31 OS packages
10 Linux distributions
Yes Fix available

Description

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

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-125

Affected packages · 2

Packages affected by CVE-2021-25293
EcosystemPackageVulnerableFixed in
Bitnami pillow <8.1.1 8.1.1
PyPI pillow >=4.3.0, <8.1.1 8.1.1

Open a package to see all its vulnerabilities.

Operating systems · 23 fixes

Red Hat 2 releases · 2 packages

eol 1 fixed 1
python-pillow python3-pillow
Red Hat fixes for CVE-2021-25293
ReleasePackageFixed inAdvisory
7 python-pillow +5 eol —
8 python3-pillow 0:5.1.1-16.el8 RHSA-2021:4149

SUSE Linux Enterprise 1 release · 1 package

fixed 1
python3-pillow
SUSE Linux Enterprise fixes for CVE-2021-25293
ReleasePackageFixed inAdvisory
15.6 python3-pillow 7.2.0-150300.3.15.1 SUSE-SU-2024:1673-2

alma 1 release · 1 package

fixed 1
python3-pillow
alma fixes for CVE-2021-25293
ReleasePackageFixed in
8 python3-pillow 5.1.1-16.el8

alpine 4 releases · 1 package

fixed 4
py3-pillow
alpine fixes for CVE-2021-25293
ReleasePackageFixed in
3.22 py3-pillow 8.1.2-r0
3.23 py3-pillow 8.1.2-r0
3.24 py3-pillow 8.1.2-r0
edge py3-pillow 8.1.2-r0

amazon linux 1 release · 1 package

fixed 1
python-pillow-debuginfo
amazon linux fixes for CVE-2021-25293
ReleasePackageFixed in
2023 python-pillow-debuginfo +6 9.4.0-2.amzn2023.0.1

debian 5 releases · 1 package

affected 1 fixed 4
pillow
debian fixes for CVE-2021-25293
ReleasePackageFixed in
10 pillow affected
11 pillow 8.1.1-1
12 pillow 8.1.1-1
13 pillow 8.1.1-1
14 pillow 8.1.1-1

echo 1 release · 1 package

fixed 1
pillow
echo fixes for CVE-2021-25293
ReleasePackageFixed in
pillow 8.1.1-1

openSUSE 1 release · 3 packages

fixed 3
python310-pillow python313-pillow python36-pillow
openSUSE fixes for CVE-2021-25293
ReleasePackageFixed inAdvisory
Tumbleweed python310-pillow +5 10.3.0-1.1 openSUSE-SU-2024:13827-1
Tumbleweed python313-pillow +3 12.3.0-1.1 openSUSE-SU-2026:11261-1
Tumbleweed python36-pillow +5 8.3.2-1.2 openSUSE-SU-2024:11209-1

rocky 1 release · 1 package

fixed 1
python3-pillow
rocky fixes for CVE-2021-25293
ReleasePackageFixed in
8 python3-pillow 5.1.1-16.el8

ubuntu 4 releases · 1 package

fixed 4
pillow
ubuntu fixes for CVE-2021-25293
ReleasePackageFixed in
18.04 pillow 5.1.0-1ubuntu0.5
18.04-ESM pillow 5.1.0-1ubuntu0.5
20.04 pillow 7.0.0-4ubuntu0.3
20.04-ESM pillow 7.0.0-4ubuntu0.3

References

Show all 44 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.