Ubuntu CVE Tracker
UBUNTU-CVE-2026-42311
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:20.04:LTS | pillow-python2 | All versions, no fix listed |
| Ubuntu:25.10 | pillow | All versions before 11.3.0-1ubuntu1.3 (fixed in 11.3.0-1ubuntu1.3) |
| Ubuntu:26.04:LTS | pillow | All versions before 12.1.1-2ubuntu1.2 (fixed in 12.1.1-2ubuntu1.2) |
References
- https://ubuntu.com/security/CVE-2026-42311
- https://www.cve.org/CVERecord?id=CVE-2026-42311
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr
- https://github.com/python-pillow/Pillow/pull/9520
- https://github.com/python-pillow/Pillow/releases/tag/12.2.0
- https://ubuntu.com/security/notices/USN-8399-1