CVE-2021-25291
JSON

7.5high

Out of bounds read in Pillow

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
1.40% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-mvg9-xffr-p774BIT-PILLOW-2021-25291PYSEC-2021-37

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
pillow (PyPI)before 8.2.0, before 8.1.1GitHub Advisory Database, PyPA Advisory Database
python pillowbefore 8.1.1NVD
pillow (Bitnami)before 8.1.1Bitnami Vulnerability Database

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

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.

GitHub Advisory Database

An issue was discovered in Pillow before 8.2.0. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.

NVD (es)

Se detectó un problema en Pillow versiones anteriores a 8.1.1. En el archivo TiffDecode.c, se presenta una lectura fuera de límites en la función TiffreadRGBATile por medio de límites de mosaico no válidos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-25291 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-mvg9-xffr-p774 changed 2024-10-09CC-BY-4.0
NVDCVE-2021-25291 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-37 changed 2023-12-06CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-PILLOW-2021-25291 changed 2026-09-08Apache-2.0