
CVE catalog
CVE-2026-42311
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 ex
- Severity
- High · CVSS 8.6
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.15% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pillow | sid | 13.0.0-1 | fixed |
| Debian | pillow | forky | 12.3.0-1 | fixed |
| Debian | pillow | trixie | 11.1.0-5+deb13u4 | fixed |
| Debian | pillow | trixie-security | 11.1.0-5+deb13u3 | fixed |
| Debian | pillow | bookworm | 9.4.0-1.1+deb12u1 | not affected |
| Debian | pillow | bookworm-security | 9.4.0-1.1+deb12u1 | not affected |
| Cpe | pillow | Not reported | 10.2.0-1ubuntu1.2 | fixed |
| Cpe | python-pil-doc | Not reported | 10.2.0-1ubuntu1.2 | fixed |
| Cpe | python3-pil | Not reported | 10.2.0-1ubuntu1.2 | fixed |
| Cpe | python3-pil.imagetk | Not reported | 10.2.0-1ubuntu1.2 | fixed |
| Cpe | pillow | Not reported | 12.2.0 | fixed |
| PyPI | pillow | Not reported | 12.2.0 | fixed |
| Suse | python-Pillow | linux enterprise server 16.0 | 11.3.0-160000.6.1 | fixed |
| Suse | python-Pillow | linux enterprise server for sap applications 16.0 | 11.3.0-160000.6.1 | fixed |
| Opensuse | python-Pillow | leap 16.0 | 11.3.0-160000.6.1 | fixed |
| Ubuntu | pillow-python2 | pro | 6.2.1-3~build1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3ubuntu0.1~esm1 | vulnerable |
| Ubuntu | pillow-python2 | pro | 6.2.1-3ubuntu0.1~esm2 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.1.0-5build1 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1.1 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1.2 | vulnerable |
| Ubuntu | pillow | 25.10 | 11.3.0-1ubuntu1.3 | fixed |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 11.3.0-1ubuntu2 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.0.0-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-1ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.1 | vulnerable |
| Ubuntu | pillow | 26.04 | 12.1.1-2ubuntu1.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pillow | source | sid | 12.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | forky | 12.2.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | trixie | 11.1.0-5+deb13u3 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| Cpe | pillow | cpe | Not reported | 10.2.0-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Cpe | python-pil-doc | cpe | Not reported | 10.2.0-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Cpe | python3-pil | cpe | Not reported | 10.2.0-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Cpe | python3-pil.imagetk | cpe | Not reported | 10.2.0-1ubuntu1.2 | Not reported | Not reported | Not reported |
| Cpe | pillow | cpe | Not reported | 12.2.0 | Not reported | Not reported | Not reported |
| PyPI | pillow | PyPI | Not reported | 12.2.0 | Not reported | GHSA-PWV6-VV43-88GR | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server 16.0 | 11.3.0-160000.6.1 | Not reported | SUSE-SU-2026:22626-1 | Not reported |
| Suse | python-Pillow | rpm | linux enterprise server for sap applications 16.0 | 11.3.0-160000.6.1 | Not reported | SUSE-SU-2026:22626-1 | Not reported |
| Opensuse | python-Pillow | rpm | leap 16.0 | 11.3.0-160000.6.1 | Not reported | OPENSUSE-SU-2026:21296-1 | Not reported |
| Ubuntu | pillow | deb | 25.10 | 11.3.0-1ubuntu1.3 | Not reported | UBUNTU-CVE-2026-42311 | Not reported |
| Ubuntu | pillow | deb | 26.04 | 12.1.1-2ubuntu1.2 | Not reported | UBUNTU-CVE-2026-42311 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pil]Not affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· amd64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
- [python3-pil.imagetk]Not affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· amd64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· arm64 · bookworm-securityNot affected
nvd · pillow · debian · bookworm
- [python-pil-doc]Not affected
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· all · bookwormNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· all · bookworm-securityNot affected
nvd · pillow · debian · bookworm
9.4.0-1.1+deb12u1· all · bookworm-securityNot affected
nvd · pillow · debian · bookworm
[Debian 13 (Trixie)]
- [python3-pil]Fixed
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
- [python3-pil.imagetk]Fixed
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
- [python-pil-doc]Fixed
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityFixed · Fixed:
11.1.0-5+deb13u3nvd · pillow · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_22626-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42311]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42311]
- [https://osv.dev/vulnerability/GHSA-pwv6-vv43-88gr]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22626-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-42311]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21296-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-42311]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42311.json]
- [https://ubuntu.com/security/notices/USN-8399-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2455.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]