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

Published Feb 28, 2021
·
Updated

A flaw was found in python-pillow. In TiffDecode.c, there is a negative-offset memcpy with an invalid size which could lead to a system crash.

Other sources

An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.

In TiffDecode.c, there is a negative-offset memcpy with an invalid size.

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

Red Hat

Affected Software

5 affected componentsFixes available
redhat/python-pillow<0:5.1.1-16.el8
0:5.1.1-16.el8
redhat/python-pillow<8.1.1
8.1.1
pip/pillow>=0<8.1.1
8.1.1
Python Pillow<8.1.1
Debian Debian Linux=9.0

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
Mar 19, 2021
CVE Published
via MITRE·03:29 AM
Data Sourced
via MITRE·03:29 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 CVE-2021-25290?

CVE-2021-25290 is a vulnerability found in python-pillow that allows for a negative-offset memcpy with an invalid size, leading to a potential system crash.

2

What is the severity of CVE-2021-25290?

CVE-2021-25290 has a severity rating of 7 out of 10, indicating a high severity.

3

Which software packages are affected by CVE-2021-25290?

The following software packages are affected by CVE-2021-25290: python-pillow versions up to and excluding 8.1.1-16.el8, python-pillow version 8.1.1, and pip package Pillow versions up to and excluding 8.1.1.

4

What is the remedy for CVE-2021-25290?

To remediate CVE-2021-25290, update python-pillow to version 8.1.1 or apply the appropriate patch provided by the vendor.

5

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

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

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