Search for vulnerabilities
Vulnerability details: VCID-e51c-zvqh-bbdk
Vulnerability ID VCID-e51c-zvqh-bbdk
Aliases BIT-pillow-2021-25290
CVE-2021-25290
GHSA-8xjq-8fcg-g5hw
PYSEC-2021-36
Summary An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
cvssv3 7.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25290.json
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00185 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00191 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
epss 0.00191 https://api.first.org/data/v1/epss?cve=CVE-2021-25290
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-8xjq-8fcg-g5hw
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-8xjq-8fcg-g5hw
generic_textual HIGH https://github.com/advisories/GHSA-8xjq-8fcg-g5hw
cvssv3.1 7.5 https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-36.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-36.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/86f02f7c70862a0954bfe8133736d352db978eaa
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/86f02f7c70862a0954bfe8133736d352db978eaa
cvssv3.1 7.5 https://github.com/python-pillow/Pillow/commit/e25be1e33dc526bfd1094bc778a54d8e29bf66c9
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/e25be1e33dc526bfd1094bc778a54d8e29bf66c9
cvssv3.1 7.5 https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
generic_textual HIGH https://lists.debian.org/debian-lts-announce/2021/07/msg00018.html
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-25290
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-25290
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2021-25290
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-25290.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-8xjq-8fcg-g5hw
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-36.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/86f02f7c70862a0954bfe8133736d352db978eaa
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/e25be1e33dc526bfd1094bc778a54d8e29bf66c9
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://lists.debian.org/debian-lts-announce/2021/07/msg00018.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: AV:N/AC:L/Au:N/C:N/I:N/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2021-25290
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-25290
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.40755
EPSS Score 0.00185
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:11:21.935457+00:00 Pypa Importer Import https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2021-36.yaml 37.0.0