{"id":"UBUNTU-CVE-2026-27809","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.","modified":"2026-05-20T16:24:51.717226887Z","published":"2026-02-26T00:16:00Z","upstream":["CVE-2026-27809"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-27809"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-27809"},{"type":"REPORT","url":"https://github.com/psd-tools/psd-tools/commit/6c0a78f195b5942757886a1863793fd5946c1fb1"},{"type":"REPORT","url":"https://github.com/psd-tools/psd-tools/releases/tag/v1.12.2"},{"type":"REPORT","url":"https://github.com/psd-tools/psd-tools/security/advisories/GHSA-24p2-j2jr-386w"}],"affected":[{"package":{"name":"psd-tools","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/psd-tools?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.28+dfsg.1-1","1.9.28+dfsg.1-1build1","1.9.30+dfsg.1-1","1.9.30+dfsg.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-psd-tools","binary_version":"1.9.30+dfsg.1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27809.json"}},{"package":{"name":"psd-tools","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/psd-tools?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.34+dfsg.1-1build2","1.10.7+dfsg.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-psd-tools","binary_version":"1.10.7+dfsg.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27809.json"}},{"package":{"name":"psd-tools","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/psd-tools?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.7+dfsg.1-1","1.10.7+dfsg.1-1build1","1.10.9+dfsg.1-1","1.12.0+dfsg.1-1","1.12.1+dfsg.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.12.1+dfsg.1-1","binary_name":"python3-psd-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27809.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}