Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. psd-tools
  4. ›
  5. CVE-2026-27809

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

February 26, 2026

A security review of the psd_tools.compression module (conducted against the fix/invalid-rle-compression branch, commits 7490ffa–2a006f5) identified the following pre-existing issues. The two findings introduced and fixed by those commits (Cython buffer overflow, IndexError on lone repeat header) are excluded from this report.


References

  • github.com/advisories/GHSA-24p2-j2jr-386w
  • github.com/psd-tools/psd-tools
  • github.com/psd-tools/psd-tools/commit/6c0a78f195b5942757886a1863793fd5946c1fb1
  • github.com/psd-tools/psd-tools/releases/tag/v1.12.2
  • github.com/psd-tools/psd-tools/security/advisories/GHSA-24p2-j2jr-386w
  • nvd.nist.gov/vuln/detail/CVE-2026-27809

Code Behaviors & Features

Detect and mitigate CVE-2026-27809 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.2

Fixed versions

  • 1.12.2

Solution

Upgrade to version 1.12.2 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound
  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
  • CWE-617: Reachable Assertion
  • CWE-704: Incorrect Type Conversion or Cast
  • CWE-755: Improper Handling of Exceptional Conditions
  • CWE-789: Memory Allocation with Excessive Size Value

Source file

pypi/psd-tools/CVE-2026-27809.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:09 +0000.