Search for vulnerabilities
Vulnerability details: VCID-e4yx-7np3-j7cg
Vulnerability ID VCID-e4yx-7np3-j7cg
Aliases BIT-pillow-2021-25291
CVE-2021-25291
GHSA-mvg9-xffr-p774
PYSEC-2021-37
Summary An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
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-25291.json
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
epss 0.00539 https://api.first.org/data/v1/epss?cve=CVE-2021-25291
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-mvg9-xffr-p774
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-mvg9-xffr-p774
generic_textual HIGH https://github.com/advisories/GHSA-mvg9-xffr-p774
cvssv3.1 7.5 https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-37.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-37.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/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
cvssv3.1 7.5 https://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-25291
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-25291
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2021-25291
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-25291.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-mvg9-xffr-p774
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-37.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/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
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/cbdce6c5d054fccaf4af34b47f212355c64ace7a
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-25291
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-25291
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.66587
EPSS Score 0.00539
Published At Aug. 6, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:11:21.573726+00:00 Pypa Importer Import https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2021-37.yaml 37.0.0