CVE-2020-35654
python-pillow: decoding crafted YCbCr files could result in heap-based buffer overflow
Overview
Description
In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode.
Source: OX vulnerability database
Severity
8.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 2
Operating systems · 15 fixes
SUSE Linux Enterprise 1 release · 1 package
fixed 1
python3-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | python3-pillow | 7.2.0-150300.3.15.1 | SUSE-SU-2024:1673-2 |
alpine 4 releases · 1 package
fixed 4
py3-pillow
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | py3-pillow | 8.1.0-r0 |
| 3.23 | py3-pillow | 8.1.0-r0 |
| 3.24 | py3-pillow | 8.1.0-r0 |
| edge | py3-pillow | 8.1.0-r0 |
debian 4 releases · 1 package
fixed 4
pillow
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | 8.1.0-1 |
| 12 | pillow | 8.1.0-1 |
| 13 | pillow | 8.1.0-1 |
| 14 | pillow | 8.1.0-1 |
echo 1 release · 1 package
fixed 1
pillow
| Release | Package | Fixed in |
|---|---|---|
| pillow | 8.1.0-1 |
openSUSE 1 release · 3 packages
fixed 3
python310-pillow
python313-pillow
python36-pillow
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python310-pillow +5 | 10.3.0-1.1 | openSUSE-SU-2024:13827-1 |
| Tumbleweed | python313-pillow +3 | 12.3.0-1.1 | openSUSE-SU-2026:11261-1 |
| Tumbleweed | python36-pillow +5 | 8.3.2-1.2 | openSUSE-SU-2024:11209-1 |
ubuntu 2 releases · 1 package
fixed 2
pillow
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | pillow | 7.0.0-4ubuntu0.2 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-35654
- github.com https://github.com/advisories/GHSA-vqcj-wrf2-7v73
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2021-70.yaml
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/eb8c1206d6b170d4e798a00db7432e023853da5c
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6BYVI5G44MRIPERKYDQEL3S3YQCZTVHE
Show all 18 references
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BF553AMNNNBW7SH4IM4MNE4M6GNZQ7YD
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TQQY6472RX4J2SUJENWDZAWKTJJGP2ML
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZTSY25UJU7NJUFHH3HWT575LT4TDFWBZ
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-35654
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/8.1.0.html#security
- pillow.readthedocs.io https://pillow.readthedocs.io/en/stable/releasenotes/index.html
- ubuntu.com https://ubuntu.com/security/notices/USN-4697-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-35654
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.