Search for vulnerabilities
Vulnerability details: VCID-ndu9-a6dm-c7hk
Vulnerability ID VCID-ndu9-a6dm-c7hk
Aliases BIT-pillow-2021-25293
CVE-2021-25293
GHSA-p43w-g3c5-g5mq
PYSEC-2021-39
Summary An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 7.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25293.json
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.0012 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.00123 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
epss 0.00123 https://api.first.org/data/v1/epss?cve=CVE-2021-25293
cvssv3.1 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 7.5 https://github.com/advisories/GHSA-p43w-g3c5-g5mq
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-p43w-g3c5-g5mq
generic_textual HIGH https://github.com/advisories/GHSA-p43w-g3c5-g5mq
cvssv3.1 7.5 https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-39.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-39.yaml
cvssv3.1 7.5 https://github.com/python-pillow/Pillow
generic_textual HIGH https://github.com/python-pillow/Pillow
cvssv3.1 7.5 https://github.com/python-pillow/Pillow/commit/4853e522bddbec66022c0915b9a56255d0188bf9
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/4853e522bddbec66022c0915b9a56255d0188bf9
cvssv3.1 7.5 https://github.com/python-pillow/Pillow/commit/f891baa604636cd2506a9360d170bc2cf4963cc5
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/f891baa604636cd2506a9360d170bc2cf4963cc5
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-25293
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-25293
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2021-25293
cvssv3.1 7.5 https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
generic_textual HIGH https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
archlinux Medium https://security.archlinux.org/AVG-1635
cvssv3.1 7.5 https://security.gentoo.org/glsa/202107-33
generic_textual HIGH https://security.gentoo.org/glsa/202107-33
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25293.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/advisories/GHSA-p43w-g3c5-g5mq
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-39.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/python-pillow/Pillow
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/python-pillow/Pillow/commit/4853e522bddbec66022c0915b9a56255d0188bf9
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://github.com/python-pillow/Pillow/commit/f891baa604636cd2506a9360d170bc2cf4963cc5
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-25293
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-25293
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Found at https://security.gentoo.org/glsa/202107-33
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.31732
EPSS Score 0.0012
Published At Sept. 20, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:11:21.211394+00:00 Pypa Importer Import https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2021-39.yaml 37.0.0