Quick answers
- Is CVE-2020-10571 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2020-10571 being exploited in the wild.
- How severe is CVE-2020-10571?
- Critical severity, with a CVSS score of 9.8, published 16 March 2020.
- Which products and versions are affected?
- psd-tools (PyPI) >= 1.8.37, <= 1.9.3, ECOSYSTEM:introduced=0,fixed=1.9.4, ECOSYSTEM:introduced=1.8.37,fixed=1.9.4.
- Is there a fix for CVE-2020-10571?
- Yes. psd-tools (PyPI): upgrade to 1.9.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2020-10571 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2020-10571?
- Check whether you run psd-tools (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- psd-tools (PyPI): upgrade to 1.9.4 or later
pip install "psd-tools>=1.9.4"
Technical details
The vulnerability is a buffer overflow in the Cython implementation of RLE decoding that fails to validate input data when decoding to PIL.Image or NumPy format. The root cause is improper checking for unusual or exceptional conditions (CWE-754) during RLE decompression. An attacker can craft a malformed PSD file with invalid RLE encoding that triggers the overflow when processed by psd-tools. No authentication or user interaction is required—the vulnerability is triggered simply by loading a malicious PSD file over the network. The impact includes memory corruption leading to denial of service or arbitrary code execution. The vulnerability is patched in version 1.9.4; users of versions 1.8.37 through 1.9.3 should upgrade immediately.
Affected products
- psd-tools psd-tools 1.8.37 to 1.9.3
Identifiers
- CVE-2020-10571
- GHSA-22jr-vc7j-g762
- PYSEC-2020-91
Timeline
- 2020-03-16: disclosed
- 2020-03-16: patched: Version 1.9.4 released