CVE-2021-25289
medium
CVSS v3
โ
CVSS v4 NEW
โ
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
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 8.1.2-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 8.1.1-1 |
| sid | Fixed | 8.1.1-1 |
| forky | Fixed | 8.1.1-1 |
| bullseye | Fixed | 8.1.1-1 |
| bookworm | Fixed | 8.1.1-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | pillow | <8.1.1 | 8.1.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25289
- https://github.com/python-pillow/Pillow/commit/3fee28eb9479bf7d59e0fa08068f9cc4a6e2f04c
- https://github.com/python-pillow/Pillow/commit/cbfdde7b1f2295059a20a539ee9960f0bec7b299
- https://github.com/advisories/GHSA-57h3-9rgr-c24m
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-35.yaml
- https://github.com/python-pillow/Pillow
- https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html
- https://security.gentoo.org/glsa/202107-33
- https://www.suse.com/security/cve/CVE-2021-25289.html
- https://security-tracker.debian.org/tracker/CVE-2021-25289
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.