Home / psd-tools / psd-tools / CVE-2026-27809
CVE-2026-27809: is it exploited, and which versions of psd-tools are affected and fixed?
CVE-2026-27809 is an improper Handling of Highly Compressed Data (Data Amplification) vulnerability in psd-tools. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: psd-tools before 1.12.2 (GitHub advisory GHSA-24p2-j2jr-386w). Fixed in 1.12.2 (GitHub advisory GHSA-24p2-j2jr-386w). Severity: Medium (6.8, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-27809?
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.
From the CVE record by GitHub_M, last updated February 26, 2026, 15:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| psd-tools | psd-tools | < 1.12.2 |
As the CVE record by GitHub_M states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | psd-tools | < 1.12.2 | 1.12.2 | GHSA-24p2-j2jr-386w |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 26, 2026. Summary: psd-tools: Compression module has unguarded zlib decompression, missing dimension validation, and hardening gaps.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| psd-tools project | psd-tools | before 1.12.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:27 UTC.
How severe is CVE-2026-27809?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | 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 | GitHub_M |
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27809 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, February 26, 2026)
- EPSS
- 0.49% probability of exploitation activity in the next 30 days, percentile 43.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
- CWE-789 Memory Allocation with Excessive Size Value
- CWE-617 Reachable Assertion
- CWE-190 Integer Overflow or Wraparound
- CWE-755 Improper Handling of Exceptional Conditions
- CWE-704 Incorrect Type Conversion or Cast
Where are the vendor advisories and references?
- https://github.com/psd-tools/psd-tools/security/advisories/GHSA-24p2-j2jr-386w x_refsource_CONFIRM
- https://github.com/psd-tools/psd-tools/commit/6c0a78f195b5942757886a1863793fd5946c1fb1 x_refsource_MISC
- https://github.com/psd-tools/psd-tools/releases/tag/v1.12.2 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 24, 2026
- Published
- February 25, 2026, 23:57 UTC
- CVE record updated
- February 26, 2026, 15:17 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:27 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect psd-tools?
- Sep 22, 2026CVE-2026-59991 psd-tools: memory Allocation with Excessive Size Value
- Sep 10, 2026CVE-2026-49836 psd-tools: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2026-27809
Is CVE-2026-27809 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.49% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of psd-tools are affected by CVE-2026-27809?
psd-tools before 1.12.2, per the GitHub advisory GHSA-24p2-j2jr-386w. The tables above give every range the sources list.
Which version fixes CVE-2026-27809?
1.12.2, per the GitHub advisory GHSA-24p2-j2jr-386w. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27809?
Medium (6.8, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27809?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.