
CVE catalog
CVE-2026-112402
Pillow is a Python imaging library. Prior to 13.0.0…
Pillow is a Python imaging library. Prior to 13.0.0, Pillow can double free image memory when ImagingScaleAffine encounters a selective allocation failure. The affected fast path handles Transform.EXTENT or pure scale-and-translate Transform.AFFINE operations with the default NEAREST resampling. The output image allocation must succeed while the additional per-column lookup allocation fails, after which the error path deletes image storage that later cleanup releases again. An attacker who can drive such a large Image.transform() operation under memory pressure may trigger the failure. This can crash the process and may corrupt memory. This issue is fixed in version 13.0.0.
- Severity
- High · CVSS 8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.51% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "pillow",
"status": "fixed",
"release": "sid",
"version": "13.0.0-1"
},
{
"name": "pillow",
"status": "vulnerable",
"release": "forky",
"version": "12.3.0-1"
},
{
"name": "pillow",
"status": "vulnerable",
"release": "trixie",
"version": "11.1.0-5+deb13u4"
},
{
"name": "pillow",
"status": "vulnerable",
"release": "trixie-security",
"version": "11.1.0-5+deb13u3"
},
{
"name": "pillow",
"status": "vulnerable",
"release": "bookworm",
"version": "9.4.0-1.1+deb12u1"
},
{
"name": "pillow",
"status": "vulnerable",
"release": "bookworm-security",
"version": "9.4.0-1.1+deb12u1"
}
],
"fixed_versions": [
{
"bug": null,
"name": "pillow",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "13.0.0-1"
},
{
"bug": null,
"name": "pillow",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": null,
"name": "pillow",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": null,
"name": "pillow",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "pillow",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "pro",
"versions": [
"6.1.0-1",
"6.1.0-1build1",
"6.2.1-2",
"7.0.0-4",
"7.0.0-4build1",
"7.0.0-4ubuntu0.1",
"7.0.0-4ubuntu0.2",
"7.0.0-4ubuntu0.3",
"7.0.0-4ubuntu0.4",
"7.0.0-4ubuntu0.5",
"7.0.0-4ubuntu0.6",
"7.0.0-4ubuntu0.7",
"7.0.0-4ubuntu0.8",
"7.0.0-4ubuntu0.9",
"7.0.0-4ubuntu0.9+esm1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-112402"
},
{
"name": "pillow-python2",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "pro",
"versions": [
"6.2.1-3~build1",
"6.2.1-3",
"6.2.1-3ubuntu0.1~esm1",
"6.2.1-3ubuntu0.1~esm2"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-112402"
},
{
"name": "pillow",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "22.04",
"versions": [
"8.1.2+dfsg-0.3",
"9.0.0-1",
"9.0.1-1",
"9.0.1-1build1",
"9.0.1-1ubuntu0.1",
"9.0.1-1ubuntu0.2",
"9.0.1-1ubuntu0.3",
"9.0.1-1ubuntu0.4",
"9.0.1-1ubuntu0.5"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-112402"
},
{
"name": "pillow",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "24.04",
"versions": [
"10.0.0-1",
"10.1.0-1",
"10.2.0-1",
"10.2.0-1build1",
"10.2.0-1ubuntu1",
"10.2.0-1ubuntu1.2",
"10.2.0-1ubuntu1.3"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-112402"
},
{
"name": "pillow",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "26.10",
"versions": [
"12.1.1-2ubuntu1",
"12.3.0-1ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-112402"
},
{
"name": "pillow",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "26.04",
"versions": [
"11.3.0-1ubuntu1",
"11.3.0-1ubuntu2",
"12.0.0-1ubuntu1",
"12.1.1-1ubuntu1",
"12.1.1-2ubuntu1",
"12.1.1-2ubuntu1.1",
"12.1.1-2ubuntu1.2",
"12.1.1-2ubuntu1.3"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-112402"
},
{
"name": "pillow",
"ranges": [
{
"fixed": "13.0.0",
"introduced": "",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "13.0.0",
"provider_record_id": "NVD-CVE-2026-112402"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-pil]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
- [python3-pil.imagetk]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
- [python-pil-doc]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookwormAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
nvd · pillow · debian · bookworm; nvd · pillow · debian · 12
[Debian 13 (Trixie)]
- [python3-pil]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
nvd · pillow · debian · 13
- [python3-pil.imagetk]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
nvd · pillow · debian · 13
- [python-pil-doc]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
nvd · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
nvd · pillow · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12230-1.json]
- [https://github.com/python-pillow/Pillow/commit/aafa6c75f7cdabb9f409a8aac7c780bea31d08d9]
- [https://github.com/python-pillow/Pillow/releases/tag/13.0.0]
- [https://github.com/python-pillow/Pillow/security/advisories/GHSA-7mwm-ghpf-9vrm]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-112402]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-112402]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-112402]
- [https://security-tracker.debian.org/tracker/CVE-2026-112402]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-112402.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]