Vulnerabilities / CVE-2026-27809

critical

CVE-2026-27809

psd-tools is a Python package for working with Adobe Photoshop PSD fil ...

Published Modified CWE 190, 409, 617, 704, 755, 789
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GHSA6.8CVSS: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

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium).

Description

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 packages and fixed versions

SourcePackageFixed in
debian 12psd-toolsno fix listed
debian 13psd-tools1.10.7+dfsg.1-1+deb13u1
debian 14psd-tools1.14.2+dfsg.1-1
echopsd-tools1.10.7+dfsg.1-1+deb13u1
pip::GitHub Security Advisory pippsd-tools1.12.2
rapidfort debian 12psd-tools0:1.10.7+dfsg.1-1+deb13u1, 0:1.14.2+dfsg.1-1
rapidfort debian 13psd-tools0:1.10.7+dfsg.1-1+deb13u1, 0:1.14.2+dfsg.1-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.