CVE-2026-27809Psd-tools Project Psd-tools
Medium 6.8 No auth needed
Follow: this CVE · Psd-tools Project · Psd-tools Project Psd-tools We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 6.8
- EPSS
- —
- Auth required
- No
- Published
- Feb 26, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- 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.
What to do
- Apply the vendor's security update for Psd-tools.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| psd-tools_project | psd-tools | < 1.12.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Exploit Vendor Advisory