cve.bz

CVE-2026-27809

6.8 mediumEPSS 0.5%

Medium (6.8) in psd-tools project psd-tools. EPSS 0.5% chance of exploitation in the next 30 days. Fixed in psd-tools 1.12.2.

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.

Severity

CVSS 4.0

6.8 medium
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

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 41% of CVEs (scores of 2026-10-31)
CWEs
CWE-190, CWE-409, CWE-617, CWE-704, CWE-755, CWE-789
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-24p2-j2jr-386wPyPIpsd-tools<1.12.21.12.2
PYSEC-2026-2262PyPIpsd-tools<1.12.21.12.2

References

Check your stackJSON