Critical severity · published Feb 25, 2026
CVE-2026-27809
psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and hardening gaps
9.1
CVSS
0.5%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PS
psd-tools · psd-tools
< 1.12.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-27809
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-27809
Patch
https://github.com/psd-tools/psd-tools/commit/6c0a78f195b5942757886a1863793fd5946c1fb1
Product
https://github.com/psd-tools/psd-tools/releases/tag/v1.12.2
Exploit
https://github.com/psd-tools/psd-tools/security/advisories/GHSA-24p2-j2jr-386w
More from psd-tools
7.5
CVE-2026-59991
psd-tools: Uncontrolled memory allocation in psd-tools composite/numpy via crafted PSD geometry
4.6
CVE-2026-49836
psd-tools: arbitrary file write via smart-object filename
