CVE-2020-10571: psd-tools RLE Decoding Vulnerability

psd-tools Updated 02 Oct 2025

Summary

14/03/2020
Yes i
Critical
9.8

CVE-2020-10571: An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data. Affects psd-tools versions < 1.9.4. Fixed in 1.9.4. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

psd-tools is a Python package available on PyPI that provides tools for working with Adobe Photoshop PSD files. It allows users to read, write, and manipulate PSD files programmatically. The package is widely used in various applications and projects that involve working with PSD files. However, a vulnerability has been discovered in versions prior to 1.9.4 that affects the Cython implementation of RLE decoding in psd-tools.

Vulnerability Detail

The vulnerability in psd-tools arises from the lack of proper validation in the Cython implementation of RLE decoding. This oversight allows for the possibility of malicious data being processed, potentially leading to various security issues. Attackers could exploit this vulnerability to execute arbitrary code, cause denial of service, or disclose sensitive information. The impact of this vulnerability depends on how the affected package is used within different applications.

How To Fix

Latest published version: 1.26.0 as of 23 Oct 2026

pip install --upgrade "psd-tools==1.26.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.4

This is the first release that contains the fix.

pip install --upgrade "psd-tools==1.9.4"

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 essential to update to the fixed version of psd-tools to ensure the security of applications that rely on this package.

Conclusion

The vulnerability in psd-tools prior to version 1.9.4 exposes applications to potential security risks due to the lack of proper validation in the Cython implementation of RLE decoding. It is crucial for users of psd-tools to update to the fixed version to ensure the security of their applications. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for psd-tools →

Share this vulnerability

FAQ

psd-tools is a Python package that provides tools for working with Adobe Photoshop PSD files. It allows users to read, write, and manipulate PSD files programmatically.

The vulnerability in psd-tools could potentially allow attackers to execute arbitrary code, cause denial of service, or disclose sensitive information.

To fix this vulnerability, it is recommended to upgrade to psd-tools version 1.9.4 or later by running the command 'pip install --upgrade psd-tools'.

There is no known workaround for this vulnerability. It is crucial to update to the fixed version of psd-tools.

For more information about this vulnerability, you can refer to the official advisory database at https://github.com/pypa/advisory-database/blob/main/vulns/psd-tools/PYSEC-2020-91.yaml

Related vulnerabilities

Recent vulnerabilities recorded for psd-tools.

How To Fix

Latest published version: 1.26.0 as of 23 Oct 2026

pip install --upgrade "psd-tools==1.26.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.9.4

This is the first release that contains the fix.

pip install --upgrade "psd-tools==1.9.4"

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