CVE-2021-25289
Out of bounds write in Pillow
9.8
CRITICAL
CVSS 3.1
EPSS 0.76%
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.
How to fix CVE-2021-25289
To remediate CVE-2021-25289, upgrade the affected package to a fixed version below.
- —upgrade to 8.1.2-r0 or later
- —upgrade to 8.1.1 or later
- —upgrade to 8.1.1-1 or later
- —upgrade to 8.1.1 or later
- —upgrade to 8.1.1 or later
Is CVE-2021-25289 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 8.1.2-r0
- from 0, < 8.1.1
- from 0, < 8.1.1-1
- from 0, < 8.1.1
- from 0, < 8.1.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |