CVE-2021-25289

medium
Published 2021-03-29 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
5.5

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-25289

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-25289.html

OS impact

OSVersionStatusFixed in
arch archfixed8.1.2-1
suse slesaffected
debian debianbookwormfixed8.1.1-1
debian debianbullseyefixed8.1.1-1
debian debianforkyfixed8.1.1-1
debian debiansidfixed8.1.1-1
debian debiantrixiefixed8.1.1-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpillow<8.1.18.1.1

References

Verify integrity in audit chain (admin only). AS-IS.