Critical Security Update for python3-pillow: Denial of Service Vulnerabilities

python3-pillow Updated 14 Jul 2026

Summary

14/07/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:39127: Important: python-pillow security update. Affects python3-pillow versions < 5.1.1-22.el8_10. Fixed in 5.1.1-22.el8_10. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python3-pillow is a powerful image processing library in Python that supports opening, manipulating, and saving many different image file formats. It is widely used for its ease of use and extensive capabilities in handling images. However, recent vulnerabilities have been identified that could allow attackers to exploit the library, leading to denial of service conditions.

Vulnerability Detail

The vulnerabilities in python3-pillow stem from improper handling of crafted font and image files. Specifically, attackers can exploit these vulnerabilities by supplying malicious BDF font files, GD 2.x image files, or PCF font data, which can lead to excessive memory allocation and ultimately cause denial of service. This means that legitimate users may be unable to access the application or service utilizing this library, resulting in potential downtime and loss of service availability.

How To Fix

Minimum fixed version

5.1.1-22.el8_10

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 →

Workaround

As a temporary workaround, you can avoid processing untrusted or crafted font and image files until the package is updated. This may help mitigate the risk of denial of service attacks while waiting for the official patch.

Conclusion

In summary, the python3-pillow library has critical vulnerabilities that can lead to denial of service. It is crucial to update to the latest patched version to protect your applications. Additionally, using tools like Vulert can help monitor and alert for open-source vulnerabilities in your software.

See every vulnerability recorded for python3-pillow →

Share this vulnerability

FAQ

Python3-pillow is an image processing library for Python that allows users to open, manipulate, and save various image formats.

The vulnerabilities can lead to denial of service, meaning that users may be unable to access applications that rely on the python3-pillow library.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by these vulnerabilities without needing to sign up.

If you cannot update the package right away, avoid processing untrusted files and monitor for any signs of exploitation.

For more details, refer to the CVE pages associated with the vulnerabilities, such as CVE-2026-54059 and CVE-2026-55380.

Related vulnerabilities

Recent vulnerabilities recorded for python3-pillow.

How To Fix

Minimum fixed version

5.1.1-22.el8_10

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