All vulnerabilities
CVE-2020-10571GHSA-22jr-vc7j-g762PYSEC-2020-91

Potential buffer overflow in psd-tools

n/a psd-toolspipLibraries & packages
CVSS
9.3Critical
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)1.80%Chance of exploitation activity in the next 30 days, higher than 78% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.9.4Fixed versionGitHub
Published14 Mar 2020Updated 24 Sep 2026CVE List

What fixes it

  • 1.9.4psd-tools, pipGitHub
  • 1.9.4psd-tools, PyPIOSVpip install "psd-tools>=1.9.4"

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

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:

Text from GitHub Advisory Database

Affected versions 9

  • psd-tools, pip>= 1.8.37, <= 1.9.3GitHub
  • n/aaffected: n/aCVE List
  • psd-tools, PyPIfrom 1.8.37, fixed in 1.9.4OSV
  • psd-tools, PyPI1.8.37OSV
  • psd-tools, PyPI1.8.38OSV
  • psd-tools, PyPI1.9.0OSV
  • psd-tools, PyPI1.9.1OSV
  • psd-tools, PyPI1.9.2OSV
  • psd-tools, PyPI1.9.3OSV

References 7