Search for vulnerabilities
Vulnerability details: VCID-p4un-9aqj-aaaf
Vulnerability ID VCID-p4un-9aqj-aaaf
Aliases BIT-2021-27922
BIT-pillow-2021-27922
CVE-2021-27922
GHSA-3wvg-mj6g-m9cv
PYSEC-2021-41
Summary Pillow before 8.1.1 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-27922.html
rhas Important https://access.redhat.com/errata/RHSA-2021:3917
rhas Moderate https://access.redhat.com/errata/RHSA-2021:4149
cvssv3 7.5 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27922.json
epss 0.00208 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00208 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.0024 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00242 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00347 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00347 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00402 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00414 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
epss 0.00822 https://api.first.org/data/v1/epss?cve=CVE-2021-27922
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1935396
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27922
cvssv3.1 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-3wvg-mj6g-m9cv
cvssv3.1 7.5 https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-41.yaml
generic_textual HIGH https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-41.yaml
cvssv3.1 6.7 https://github.com/python-pillow/Pillow
generic_textual MODERATE https://github.com/python-pillow/Pillow
cvssv3.1 7.5 https://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973
generic_textual HIGH https://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973
cvssv3.1 7.5 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU
generic_textual HIGH https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU
cvssv3.1 7.5 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
generic_textual HIGH https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
cvssv3.1 7.5 https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
generic_textual HIGH https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-27922
cvssv3 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-27922
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2021-27922
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 5.5 https://security.gentoo.org/glsa/202107-33
generic_textual MODERATE https://security.gentoo.org/glsa/202107-33
generic_textual Medium https://ubuntu.com/security/notices/USN-4763-1
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-27922.html
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27922.json
https://api.first.org/data/v1/epss?cve=CVE-2021-27922
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27922
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-41.yaml
https://github.com/python-pillow/Pillow
https://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
https://security.gentoo.org/glsa/202107-33
https://ubuntu.com/security/notices/USN-4763-1
1935396 https://bugzilla.redhat.com/show_bug.cgi?id=1935396
AVG-1635 https://security.archlinux.org/AVG-1635
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
CVE-2021-27922 https://nvd.nist.gov/vuln/detail/CVE-2021-27922
GHSA-3wvg-mj6g-m9cv https://github.com/advisories/GHSA-3wvg-mj6g-m9cv
RHSA-2021:3917 https://access.redhat.com/errata/RHSA-2021:3917
RHSA-2021:4149 https://access.redhat.com/errata/RHSA-2021:4149
USN-4763-1 https://usn.ubuntu.com/4763-1/
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-27922.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/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-41.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:L/AC:H/PR:L/UI:R/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:N/I:N/A:H Found at https://github.com/python-pillow/Pillow/commit/756fff33128a0b643d10518a26ad04b726dd8973
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.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S7G44Z33J4BNI2DPDROHWGVG2U7ZH5JU
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.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
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.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
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-27922
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-27922
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://nvd.nist.gov/vuln/detail/CVE-2021-27922
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:L/AC:L/PR:N/UI:R/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.43536
EPSS Score 0.00208
Published At June 15, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
There are no relevant records.