CVE-2021-25289

python-pillow: insufficent fix for CVE-2020-35654 due to incorrect error checking in TiffDecode.c

Published Mar 19, 2021 CVSS 3.1 · 9.8 Critical EPSS 2.3% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0172 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.
Github GHSA Github GHSA GHSA-57h3-9rgr-c24m Out of bounds write in Pillow
Ubuntu USN Ubuntu USN USN-4763-1 Pillow vulnerabilities
History

No history.

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 7:56 PM
Reserved
Jan 17, 2021, 12:00 AM
Status
Modified
Published
Mar 19, 2021, 4:15 AM
Modified
Jun 17, 2026, 3:41 AM
Severity
Important
Public date
Feb 28, 2021, 12:00 AM