Security mailing lists by PureSourceCode

CVE-2026-27809

MEDIUM 6.8CVSS 4.0

psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and hardening gaps

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.

Published
26 Feb 2026
Last modified
13 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-190CWE-409CWE-617CWE-704CWE-755CWE-789
Also known as
GHSA-24p2-j2jr-386wPYSEC-2026-2262
Sources
NVDJSONOSV GHSA-24p2-j2jr-386wJSONOSV PYSEC-2026-2262JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 6.8 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
OSV PyPA CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD psd-tools_project psd-tools
cpe:2.3:a:psd-tools_project:psd-tools:*:*:*:*:*:*:*:*
< 1.12.2 1.12.2
OSV PyPI psd-tools < 1.12.2 1.12.2

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 26 Feb 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Feb 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.