Live threats

All CVEs / Psd-tools Project

CVE-2026-27809Psd-tools Project Psd-tools

Medium 6.8 No auth needed

Priority
56
CVSS 4.0
6.8
EPSS
—
Auth required
No
Published
Feb 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190, CWE-409, CWE-617, CWE-704, CWE-755, CWE-789
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Psd-tools.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI psd-tools < 1.12.2 1.12.2 pip install "psd-tools>=1.12.2"
PyPI psd-tools < 1.12.2 1.12.2 pip install "psd-tools>=1.12.2"

Per OSV / GitHub Advisories (GHSA-24p2-j2jr-386w, PYSEC-2026-2262). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
psd-tools_projectpsd-tools< 1.12.2

Official sources

References

Links published by the sources. Open them with care.