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

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianpillowsid13.0.0-1fixed
Debianpillowforky12.3.0-1fixed
Debianpillowtrixie11.1.0-5+deb13u4fixed
Debianpillowtrixie-security11.1.0-5+deb13u3fixed
Debianpillowbookworm9.4.0-1.1+deb12u1not affected
Debianpillowbookworm-security9.4.0-1.1+deb12u1not affected
CpepillowNot reported10.2.0-1ubuntu1.2fixed
Cpepython-pil-docNot reported10.2.0-1ubuntu1.2fixed
Cpepython3-pilNot reported10.2.0-1ubuntu1.2fixed
Cpepython3-pil.imagetkNot reported10.2.0-1ubuntu1.2fixed
CpepillowNot reported12.2.0fixed
PyPIpillowNot reported12.2.0fixed
Susepython-Pillowlinux enterprise server 16.011.3.0-160000.6.1fixed
Susepython-Pillowlinux enterprise server for sap applications 16.011.3.0-160000.6.1fixed
Opensusepython-Pillowleap 16.011.3.0-160000.6.1fixed
Ubuntupillow-python2pro6.2.1-3~build1vulnerable
Ubuntupillow-python2pro6.2.1-3vulnerable
Ubuntupillow-python2pro6.2.1-3ubuntu0.1~esm1vulnerable
Ubuntupillow-python2pro6.2.1-3ubuntu0.1~esm2vulnerable
Ubuntupillow25.1011.1.0-5build1vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1.1vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1.2vulnerable
Ubuntupillow25.1011.3.0-1ubuntu1.3fixed
Ubuntupillow26.0411.3.0-1ubuntu1vulnerable
Ubuntupillow26.0411.3.0-1ubuntu2vulnerable
Ubuntupillow26.0412.0.0-1ubuntu1vulnerable
Ubuntupillow26.0412.1.1-1ubuntu1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1.1vulnerable
Ubuntupillow26.0412.1.1-2ubuntu1.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpillowsourcesid12.2.0-1not yet assignedNot reportedNot reported
Debianpillowsourceforky12.2.0-1not yet assignedNot reportedNot reported
Debianpillowsourcetrixie11.1.0-5+deb13u3not yet assignedNot reportedNot reported
DebianpillowsourcebookwormNot affectedunimportantNot reportedNot reported
CpepillowcpeNot reported10.2.0-1ubuntu1.2Not reportedNot reportedNot reported
Cpepython-pil-doccpeNot reported10.2.0-1ubuntu1.2Not reportedNot reportedNot reported
Cpepython3-pilcpeNot reported10.2.0-1ubuntu1.2Not reportedNot reportedNot reported
Cpepython3-pil.imagetkcpeNot reported10.2.0-1ubuntu1.2Not reportedNot reportedNot reported
CpepillowcpeNot reported12.2.0Not reportedNot reportedNot reported
PyPIpillowPyPINot reported12.2.0Not reportedGHSA-PWV6-VV43-88GRNot reported
Susepython-Pillowrpmlinux enterprise server 16.011.3.0-160000.6.1Not reportedSUSE-SU-2026:22626-1Not reported
Susepython-Pillowrpmlinux enterprise server for sap applications 16.011.3.0-160000.6.1Not reportedSUSE-SU-2026:22626-1Not reported
Opensusepython-Pillowrpmleap 16.011.3.0-160000.6.1Not reportedOPENSUSE-SU-2026:21296-1Not reported
Ubuntupillowdeb25.1011.3.0-1ubuntu1.3Not reportedUBUNTU-CVE-2026-42311Not reported
Ubuntupillowdeb26.0412.1.1-2ubuntu1.2Not reportedUBUNTU-CVE-2026-42311Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-pil]Not affected

    Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · amd64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

  • [python3-pil.imagetk]Not affected

    Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · amd64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

  • [python-pil-doc]Not affected

    Source package: [pillow]

    Details (4)
    • 9.4.0-1.1+deb12u1 · all · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · all · bookworm

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · all · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

    • 9.4.0-1.1+deb12u1 · all · bookworm-security

      Not affected

      nvd · pillow · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · amd64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · arm64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · amd64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · arm64 · trixie

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · arm64 · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

  • Source package: [pillow]

    Details (4)
    • 11.1.0-5+deb13u4 · all · trixie

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u4 · all · trixie

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · all · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

    • 11.1.0-5+deb13u3 · all · trixie-security

      Fixed · Fixed: 11.1.0-5+deb13u3

      nvd · pillow · debian · 13

Observed:

References