Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-42311

Pillow: python-pillow: Pillow: Arbitrary code execution via malicious PSD file processing

Overview

Published
9 May 2026
Modified
24 Jul 2026
High CVE
2 Registry packages
18 OS packages
10 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.8 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-190, CWE-787

Affected packages · 2

Packages affected by CVE-2026-42311
EcosystemPackageVulnerableFixed in
Bitnami pillow >=10.3.0, <12.2.0 12.2.0
PyPI pillow >=10.3.0, <12.2.0 12.2.0

Open a package to see all its vulnerabilities.

Operating systems · 17 fixes

SUSE Linux Enterprise 1 release · 1 package

fixed 1
python313-pillow
SUSE Linux Enterprise fixes for CVE-2026-42311
ReleasePackageFixed inAdvisory
16.0 python313-pillow +1 11.3.0-160000.6.1 SUSE-SU-2026:22626-1

amazon linux 1 release · 1 package

fixed 1
python-pillow-debuginfo
amazon linux fixes for CVE-2026-42311
ReleasePackageFixed in
2023 python-pillow-debuginfo +6 9.4.0-2.amzn2023.0.8

chainguard 1 release · 4 packages

fixed 4
open-webui kubeflow-pipelines-visualization-server mlflow superset-6-0
chainguard fixes for CVE-2026-42311
ReleasePackageFixed in
open-webui 0.11.0-r0
kubeflow-pipelines-visualization-server 2.16.1-r0
mlflow 3.16.0-r0
superset-6-0 6.0.0-r10

debian 2 releases · 1 package

fixed 2
pillow
debian fixes for CVE-2026-42311
ReleasePackageFixed in
13 pillow 11.1.0-5+deb13u3
14 pillow 12.2.0-1

echo 1 release · 1 package

fixed 1
pillow
echo fixes for CVE-2026-42311
ReleasePackageFixed in
pillow 11.1.0-5+deb13u3

minimos 1 release · 2 packages

fixed 2
label-studio litellm-1-83
minimos fixes for CVE-2026-42311
ReleasePackageFixed in
label-studio 1.23.1-r0
litellm-1-83 1.83.10-r0

openSUSE 1 release · 1 package

fixed 1
python313-pillow
openSUSE fixes for CVE-2026-42311
ReleasePackageFixed inAdvisory
Tumbleweed python313-pillow +3 12.3.0-1.1 openSUSE-SU-2026:11261-1

openSUSE Leap 1 release · 1 package

fixed 1
python313-pillow
openSUSE Leap fixes for CVE-2026-42311
ReleasePackageFixed inAdvisory
16.0 python313-pillow +1 11.3.0-160000.6.1 openSUSE-SU-2026:21296-1

ubuntu 1 release · 1 package

fixed 1
pillow
ubuntu fixes for CVE-2026-42311
ReleasePackageFixed in
26.04 pillow 12.1.1-2ubuntu1.2

wolfi 1 release · 3 packages

fixed 3
open-webui kubeflow-pipelines-visualization-server superset-6-0
wolfi fixes for CVE-2026-42311
ReleasePackageFixed in
open-webui 0.11.0-r0
kubeflow-pipelines-visualization-server 2.16.1-r0
superset-6-0 6.0.0-r10

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.