cve.bz

CVE-2026-27809 psd-tools project psd-tools: Year 2038 problem, Y2K38, Y2038, Epochalypse

6.8 mediumExploit referenceEPSS 0.5%Fix available

Medium (6.8) in psd-tools project psd-tools. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in psd-tools 1.12.2.

On this page
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.

Severity

CVSS 4.0

6.8 medium
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

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
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
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27809 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27809?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27809?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27809 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
psd-tools_project:psd-toolsbefore 1.12.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-24p2-j2jr-386wPyPIpsd-tools<1.12.21.12.2
PYSEC-2026-2262PyPIpsd-tools<1.12.21.12.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12psd-toolsno fix listedDEBIAN-CVE-2026-27809
Debian13psd-tools1.10.7+dfsg.1-1+deb13u1DEBIAN-CVE-2026-27809
Debian14psd-tools1.14.2+dfsg.1-1DEBIAN-CVE-2026-27809
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morepsd-toolsno fix listedUBUNTU-CVE-2026-27809

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON