Integer Overflow or Wraparound Affecting psd-tools package, versions <1.10.7+dfsg.1-1+deb13u1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.7% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PSDTOOLS-19683739
  • published11 Sept 2026
  • disclosed26 Feb 2026

Introduced: 26 Feb 2026

CVE-2026-27809  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-409  (opens in a new tab)
CWE-617  (opens in a new tab)
CWE-704  (opens in a new tab)
CWE-755  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade Echo:latest psd-tools to version 1.10.7+dfsg.1-1+deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream psd-tools package and not the psd-tools package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

psd-tools is a Python package for working with Adobe Photoshop PSD files. Prior to version 1.12.2, when a PSD file contains malformed RLE-compressed image data (e.g. a literal run that extends past the expected row size), decode_rle() raises ValueError which propagated all the way to the user, crashing psd.composite() and psd-tools export. decompress() already had a fallback that replaces failed channels with black pixels when result is None, but it never triggered because the ValueError from decode_rle() was not caught. The fix in version 1.12.2 wraps the decode_rle() call in a try/except so the existing fallback handles the error gracefully.

CVSS Base Scores

version 3.1