Skip to main content
← All vulnerabilities
CVE-2026-27809GHSA-24P2-J2JR-386WPYSEC-2026-2262

psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and hardening gaps

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • psd-tools psd-tools

    fixed in 1.12.2

  • psd-toolsPyPI

    fixed in 1.12.2

References 3

GitHub · psd-tools/psd-tools