Search for vulnerabilities
Vulnerability details: VCID-egyy-erjx-tuey
Vulnerability ID VCID-egyy-erjx-tuey
Aliases BIT-pillow-2021-25289
CVE-2021-25289
GHSA-57h3-9rgr-c24m
PYSEC-2021-35
Summary An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.
Status Published
Exploitability 0.5
Weighted Severity 9.0
Risk 4.5
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
cvssv3 9.8 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25289.json
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
epss 0.00206 https://api.first.org/data/v1/epss?cve=CVE-2021-25289
cvssv3.1 9.8 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 9.8 https://github.com/advisories/GHSA-57h3-9rgr-c24m
cvssv3.1_qr CRITICAL https://github.com/advisories/GHSA-57h3-9rgr-c24m
generic_textual CRITICAL https://github.com/advisories/GHSA-57h3-9rgr-c24m
cvssv3.1 9.8 https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-35.yaml
generic_textual CRITICAL https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-35.yaml
cvssv3.1 9.8 https://github.com/python-pillow/Pillow
generic_textual CRITICAL https://github.com/python-pillow/Pillow
cvssv3.1 9.8 https://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
generic_textual CRITICAL https://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
cvssv3.1 9.8 https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
generic_textual CRITICAL https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
cvssv2 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-25289
cvssv3.1 9.8 https://nvd.nist.gov/vuln/detail/CVE-2021-25289
generic_textual CRITICAL https://nvd.nist.gov/vuln/detail/CVE-2021-25289
cvssv3.1 9.8 https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
generic_textual CRITICAL https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
archlinux Medium https://security.archlinux.org/AVG-1635
cvssv3.1 9.8 https://security.gentoo.org/glsa/202107-33
generic_textual CRITICAL 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:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25289.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:H/I:H/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:H/I:H/A:H Found at https://github.com/advisories/GHSA-57h3-9rgr-c24m
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:H/I:H/A:H Found at https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-35.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:H/I:H/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:H/I:H/A:H Found at https://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
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:H/I:H/A:H Found at https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
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:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-25289
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:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-25289
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:H/I:H/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:H/I:H/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.43219
EPSS Score 0.00206
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:11:21.396370+00:00 Pypa Importer Import https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2021-35.yaml 37.0.0