Skip to content

Out of bounds write in Pillow

High severity GitHub Reviewed Published Mar 29, 2021 to the GitHub Advisory Database • Updated Mar 26, 2024

Package

pip Pillow (pip)

Affected versions

= 8.1.0

Patched versions

8.1.1

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.

References

Published by the National Vulnerability Database Mar 19, 2021
Reviewed Mar 22, 2021
Published to the GitHub Advisory Database Mar 29, 2021
Last updated Mar 26, 2024

Severity

High
8.8
/ 10

CVSS base metrics

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

Weaknesses

CVE ID

CVE-2021-25289

GHSA ID

GHSA-57h3-9rgr-c24m

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.