CVE-2026-27809psd-tools: Compression module has unguarded zlib decompression, missing dimension…
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | psd-tools | Fix pending | UBUNTU-CVE-2026-27809 | |
| Ubuntu 26.04 | psd-tools | Under investigation | UBUNTU-CVE-2026-27809 | |
| Ubuntu 25.10 | psd-tools | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-27809 | |
| Ubuntu 24.04 | psd-tools | Under investigation | UBUNTU-CVE-2026-27809 | |
| Debian 14 | psd-tools | Fixed | 1.14.2+dfsg.1-1 | DEBIAN-CVE-2026-27809 |
| Debian 13 | psd-tools | Fixed | 1.10.7+dfsg.1-1+deb13u1 | DEBIAN-CVE-2026-27809 |
| Debian 12 | psd-tools | Fix pending | DEBIAN-CVE-2026-27809 | |
| PyPI library | psd-tools | Fixed | 1.12.2 | PYSEC-2026-2262 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- psd-tools: affected: < 1.12.2
References
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-24p2-j2jr-386w
- https://github.com/psd-tools/psd-tools/commit/6c0a78f195b5942757886a1863793fd5946c1fb1
- https://github.com/psd-tools/psd-tools/releases/tag/v1.12.2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.