Pillow python2: From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory
Affects pillow-python2Source GCVE Database
Not known to be exploited · CVSS 8.6 High · fixed in 11.3.0-1ubuntu1.3 : patch pillow-python2 soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 11.3.0-1ubuntu1.3, 12.1.1-2ubuntu1.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu pillow to 11.3.0-1ubuntu1.3 (package) or 12.1.1-2ubuntu1.2 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpillowpkg:deb/ubuntu/pillow?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10pillowpkg:deb/ubuntu/pillow?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSpillow-python2pkg:deb/ubuntu/pillow-python2?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
References
- ubuntu.com/security/CVE-2026-42311 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42311 (opens in a new tab)
- github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr (opens in a new tab)
- github.com/python-pillow/Pillow/pull/9520 (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/12.2.0 (opens in a new tab)
- ubuntu.com/security/notices/USN-8399-1 (opens in a new tab)