Vulnerability · Published Mar 19, 2021 · Assigned by mitre

CVE-2021-25289

Critical 9.8

In plain English

A critical-severity security flaw in the py3-pillow package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.3%top 16.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20py3-pillow8.1.2-r0ALPINE-CVE-2021-25289
Alpine:v3.21py3-pillow8.1.2-r0ALPINE-CVE-2021-25289
Alpine:v3.22py3-pillow8.1.2-r0ALPINE-CVE-2021-25289
Alpine:v3.23py3-pillow8.1.2-r0ALPINE-CVE-2021-25289
Alpine:v3.24py3-pillow8.1.2-r0ALPINE-CVE-2021-25289
Debian:12pillow8.1.1-1DEBIAN-CVE-2021-25289
Debian:13pillow8.1.1-1DEBIAN-CVE-2021-25289
Debian:14pillow8.1.1-1DEBIAN-CVE-2021-25289
PyPIpillow8.1.1PYSEC-2021-35
PyPIpillow8.1.1GHSA-57h3-9rgr-c24m

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References