Security Update for python-imaging

python-imaging Updated 02 Oct 2025

Summary

21/08/2014
N/A
Yes i
Unrated
Not published

DSA-3009-1: python-imaging - security update. Affects python-imaging versions < 1.1.7-4+deb7u1. Fixed in 1.1.7-4+deb7u1. 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

python-imaging is a Python library that provides support for opening, manipulating, and saving many different image file formats. It is widely used in various applications for image processing and manipulation tasks. However, a vulnerability has been discovered in the icns decoder of the library, which could lead to a denial of service if a malformed image is processed.

Vulnerability Detail

The vulnerability in the icns decoder of python-imaging arises from a lack of input sanitization. This means that if an attacker provides a specially crafted image file, it could cause the library to crash or consume excessive resources, resulting in a denial of service. The impact of this vulnerability is limited to the availability of the affected service or application. It does not allow for remote code execution or unauthorized access to data.

How To Fix

Minimum fixed version

1.1.7-4+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-imaging

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

Workaround

There is no known workaround for this vulnerability. It is necessary to apply the security update or upgrade the package to the fixed version.

Conclusion

The python-imaging library is vulnerable to a denial of service issue in the icns decoder. To mitigate this vulnerability, it is crucial to update the python-imaging package to the fixed version. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python-imaging →

Share this vulnerability

FAQ

Python Imaging Library (PIL) is a library for opening, manipulating, and saving many different image file formats using Python.

The vulnerability could result in a denial of service if a malformed image is processed, causing the affected service or application to crash or consume excessive resources.

No, this vulnerability does not allow for remote code execution or unauthorized access to data. It only affects the availability of the service or application.

No, there is no known workaround for this vulnerability. It is necessary to apply the security update or upgrade the package to the fixed version.

To fix this vulnerability, you should upgrade your python-imaging package to the latest available version from the official package repositories.

Related vulnerabilities

Recent vulnerabilities recorded for python-imaging.

How To Fix

Minimum fixed version

1.1.7-4+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-imaging

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