CVE-2021-25291: High severity python imaging library (pillow) vulnerability

Published Feb 28, 2021
·
Updated

A flaw was found in python-pillow. Invalid tile boundaries could lead to an OOB Read in TiffReadRGBATile in TiffDecode.c.

Other sources

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.

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.

GitHub

Invalid tile boundaries could lead to an OOB Read in TiffReadRGBATile in In TiffDecode.c.

Reference: https://pillow.readthedocs.io/en/stable/releasenotes/8.1.1.html

Red Hat

Affected Software

3 affected componentsFixes available
redhat/python-pillow<8.1.1
8.1.1
pip/Pillow<8.2.0
8.2.0
Python Pillow<8.1.1

Remediation

Information

Disable the invoice generation feature to mitigate this vulnerability in Red Hat Quay.

Event History

Feb 28, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 19, 2021
CVE Published
via MITRE·03:30 AM
Data Sourced
via MITRE·03:30 AM
Description
Mar 29, 2021
Advisory Published
via GitHub·04:35 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2021-25291.

2

What is the severity of CVE-2021-25291?

The severity of CVE-2021-25291 is high (7.5).

3

What is the affected software for CVE-2021-25291?

The affected software for CVE-2021-25291 is Python Pillow version up to 8.2.0.

4

How can I fix CVE-2021-25291?

To fix CVE-2021-25291, update Python Pillow to version 8.2.0 or above.

5

Where can I find more information about CVE-2021-25291?

You can find more information about CVE-2021-25291 at the following references: - [CVE Website](https://www.cve.org/CVERecord?id=CVE-2021-25291) - [NIST NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-25291) - [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=1934692) - [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2021:3917)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203