CVE-2021-25291
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
Description
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
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 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-25291
- https://github.com/python-pillow/Pillow/commit/8b8076bdcb3815be0ef0d279651d8d1342b8ea61
- https://github.com/python-pillow/Pillow/commit/cbdce6c5d054fccaf4af34b47f212355c64ace7a
- https://github.com/advisories/GHSA-mvg9-xffr-p774
- https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-37.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-25291.html
- https://security-tracker.debian.org/tracker/CVE-2021-25291
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.