Moderate: python-pillow security update

python3-pillow Updated 02 Oct 2025

Summary

09/11/2021
N/A
Yes i
Unrated
Not published

ALSA-2021:4149: Moderate: python-pillow security update. Affects python3-pillow versions < 5.1.1-16.el8. Fixed in 5.1.1-16.el8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The python-pillow packages contain a Python image processing library that provides extensive file format support, an efficient internal representation, and powerful image-processing capabilities. It is widely used in various applications for image manipulation and processing.

Vulnerability Detail

This security update addresses multiple vulnerabilities in the python-pillow library. These vulnerabilities include out-of-bounds reads, negative-offset memcpy, regular expression denial of service, excessive memory allocation, infinite loop, buffer overflow, and buffer over-read issues. These vulnerabilities could potentially lead to various security risks such as information disclosure, denial of service, and potential remote code execution.

How To Fix

Minimum fixed version

5.1.1-16.el8

This is the first release that contains the fix.

sudo dnf update python3-pillow

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Updating the python-pillow package to the latest version is crucial to mitigate the security risks associated with these vulnerabilities. It is recommended to follow the provided instructions and update the package as soon as possible. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for python3-pillow →

Share this vulnerability

FAQ

Python-pillow is a Python image processing library that provides extensive file format support and powerful image-processing capabilities.

These vulnerabilities could potentially lead to information disclosure, denial of service, and potential remote code execution.

You can check the version of python-pillow installed on your system by running the following command:

pip show pillow

At the moment, there are no known workarounds for these vulnerabilities. It is recommended to update to the latest version of python-pillow.

You can find more information about these vulnerabilities, including their CVE identifiers, in the references section of the official security advisory.

Related vulnerabilities

Recent vulnerabilities recorded for python3-pillow.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.1.1-16.el8

This is the first release that contains the fix.

sudo dnf update python3-pillow

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback