Back to CVE records
Medium 6.8Published Feb 25, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects psd-tools and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
6.8 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
Weakness (CWE)
CWE-409, CWE-789, CWE-617, CWE-190, CWE-755, CWE-704
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Feb 26, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
psd-tools psd-tools
psd_tools:psd_tools (from the name)
before 1.12.2
CNA record
psd-tools_project psd-tools
psd-tools_project:psd-tools
before 1.12.2
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory
  • x-refsource-misc, patch
  • x-refsource-misc, product, release-notes

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.
CVE-2026-27809: psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and harden | InfoSec Signals