CVE-2020-10571
Potential buffer overflow in psd-tools
CVE-2020-10571 is a critical vulnerability (CVSS 9.8) in Psd-tools Project Psd-tools, published March 14, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.80%, the 78th percentile. Fixed in psd-tools 1.9.4.
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data.
- Record
CVE-2020-10571- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-754
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data.
- Record
CVE-2020-10571- Updated
- 2026-11-02
EUVDEUVD-2020-0150 No score
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data.
- Record
EUVD-2020-0150- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-22jr-vc7j-g762
9.3
Potential buffer overflow in psd-tools
Impact
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malformed PSD input data during decoding to the PIL.Image or NumPy format, leading to a Buffer Overflow.
Patches
Users of psd-tools version v1.8.37 to v1.9.3 should upgrade to v1.9.4.
Workarounds
Without Cython present on installation, buffer overflow does not occur but IndexError will be thrown. However, already installed psd-tools with Cython extention should be upgraded.
References
https://github.com/psd-tools/psd-tools/pull/198
For more information
If you have any questions or comments about this advisory:
- Open an issue in psd-tools
- Record
GHSA-22jr-vc7j-g762- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-754
- Updated
- 2026-11-02
OSV
9.8
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data.
- Record
CVE-2020-10571- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-22jr-vc7j-g762
9.3
Potential buffer overflow in psd-tools
Impact
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malformed PSD input data during decoding to the PIL.Image or NumPy format, leading to a Buffer Overflow.
Patches
Users of psd-tools version v1.8.37 to v1.9.3 should upgrade to v1.9.4.
Workarounds
Without Cython present on installation, buffer overflow does not occur but IndexError will be thrown. However, already installed psd-tools with Cython extention should be upgraded.
References
https://github.com/psd-tools/psd-tools/pull/198
For more information
If you have any questions or comments about this advisory:
- Open an issue in psd-tools
- Record
GHSA-22jr-vc7j-g762- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-754
- Updated
- 2026-11-02
OSVPYSEC-2020-91 No score
An issue was discovered in psd-tools before 1.9.4. The Cython implementation of RLE decoding did not check for malicious data.
- Record
PYSEC-2020-91- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
psd-toolsPyPI |
1.8.37 to 1.9.3 | 1.9.4 |
psd-toolsPyPI |
1.8.37 up to 1.9.4, plus listed versions 1.8.381.9.01.9.11.9.21.9.3 |
1.9.4 |
psd-toolsPyPI |
before 1.9.4, plus listed versions 0.1.10.1.20.1.30.1.40.2 Show 45 moreShow less0.50.60.70.7.10.80.8.10.8.20.8.30.8.40.90.9.10.101.01.11.21.31.41.8.81.8.91.8.101.8.111.8.121.8.131.8.141.8.151.8.161.8.171.8.181.8.191.8.201.8.211.8.221.8.231.8.241.8.251.8.261.8.271.8.281.8.291.8.301.8.311.8.321.8.331.8.341.8.35 |
1.9.4 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/psd-tools/psd-tools/pull/198
github.com/psd-tools/psd-tools/releases/tag/v1.9.4
github.com/psd-tools/psd-tools/security/advisories/GHSA-22jr-vc7j-g762
nvd.nist.gov/vuln/detail/CVE-2020-10571
github.com/psd-tools/psd-tools/commit/fd51f8b4a52bc9c1c06d1035dfdf2cd920e87074
github.com/pypa/advisory-database/tree/main/vulns/psd-tools/PYSEC-2020-91.yaml
github.com/advisories/GHSA-22jr-vc7j-g762
github.com/psd-tools/psd-tools
Left out here: 7 versions. The JSON record has them.