id: PYSEC-2026-2262 published: "2026-02-26T00:16:26.233Z" modified: "2026-07-13T05:50:59.630732Z" aliases: - CVE-2026-27809 - GHSA-24p2-j2jr-386w details: 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. affected: - package: name: psd-tools ecosystem: PyPI purl: pkg:pypi/psd-tools ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 1.12.2 versions: - 0.1.1 - 0.1.2 - 0.1.3 - 0.1.4 - "0.10" - "0.2" - "0.5" - "0.6" - "0.7" - 0.7.1 - "0.8" - 0.8.1 - 0.8.2 - 0.8.3 - 0.8.4 - "0.9" - 0.9.1 - "1.0" - "1.1" - 1.10.0 - 1.10.1 - 1.10.10 - 1.10.11 - 1.10.12 - 1.10.13 - 1.10.2 - 1.10.3 - 1.10.4 - 1.10.5 - 1.10.6 - 1.10.7 - 1.10.8 - 1.10.9 - 1.11.0 - 1.11.1 - 1.12.0 - 1.12.1 - "1.2" - "1.3" - "1.4" - 1.8.10 - 1.8.11 - 1.8.12 - 1.8.13 - 1.8.14 - 1.8.15 - 1.8.16 - 1.8.17 - 1.8.18 - 1.8.19 - 1.8.20 - 1.8.21 - 1.8.22 - 1.8.23 - 1.8.24 - 1.8.25 - 1.8.26 - 1.8.27 - 1.8.28 - 1.8.29 - 1.8.30 - 1.8.31 - 1.8.32 - 1.8.33 - 1.8.34 - 1.8.35 - 1.8.36 - 1.8.37 - 1.8.38 - 1.8.8 - 1.8.9 - 1.9.0 - 1.9.1 - 1.9.10 - 1.9.11 - 1.9.12 - 1.9.13 - 1.9.14 - 1.9.15 - 1.9.16 - 1.9.17 - 1.9.18 - 1.9.19 - 1.9.2 - 1.9.20 - 1.9.21 - 1.9.22 - 1.9.23 - 1.9.24 - 1.9.26 - 1.9.27 - 1.9.28 - 1.9.29 - 1.9.3 - 1.9.30 - 1.9.31 - 1.9.32 - 1.9.33 - 1.9.34 - 1.9.4 - 1.9.5 - 1.9.6 - 1.9.7 - 1.9.8 - 1.9.9 ecosystem_specific: {} references: - type: ADVISORY url: https://github.com/psd-tools/psd-tools/releases/tag/v1.12.2 - type: FIX url: https://github.com/psd-tools/psd-tools/commit/6c0a78f195b5942757886a1863793fd5946c1fb1 - type: EVIDENCE url: https://github.com/psd-tools/psd-tools/security/advisories/GHSA-24p2-j2jr-386w severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H