CVE-2026-96639
Pillow multi-frame loaders can reuse stale native image storage after mode transitions
Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.659% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 9.8 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T12:59:29.038Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:29.038Z | CVE Program |
| epss | verified | 2026-11-19T16:04:57.117Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:18.502Z | OSV |
| affected | verified | 2026-11-19T12:59:29.038Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:29.038Z | CVE Program |
Affected versions and configuration
python-pillow Pillow; default status: unknown: >= 11.0.0, < 13.0.0 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "python-pillow",
"product": "Pillow",
"versions": [
{
"status": "affected",
"version": ">= 11.0.0, < 13.0.0"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-96639",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-10-29T10:51:10.443055Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-29T10:51:37.735Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-v9pv-5gc8-w2m6",
"aliases": [
"BIT-pillow-2026-96639",
"CVE-2026-96639",
"PYSEC-2026-4339"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "11.0.0"
},
{
"fixed": "13.0.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:pypi/pillow",
"ecosystem": "PyPI"
},
"versions": [
"11.0.0",
"11.1.0",
"11.2.1",
"11.3.0",
"12.0.0",
"12.1.0",
"12.1.1",
"12.2.0",
"12.3.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-v9pv-5gc8-w2m6/GHSA-v9pv-5gc8-w2m6.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96639",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/pull/10105",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a",
"type": "WEB"
},
{
"url": "https://github.com/python-pillow/Pillow",
"type": "PACKAGE"
},
{
"url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-125",
"CWE-787"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2026-10-21T21:20:32Z",
"github_reviewed_at": "2026-10-22T16:00:15Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2026-4339",
"aliases": [
"BIT-pillow-2026-96639",
"CVE-2026-96639",
"GHSA-v9pv-5gc8-w2m6"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "11.0.0"
},
{
"fixed": "13.0.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:pypi/pillow",
"ecosystem": "PyPI"
},
"versions": [
"11.0.0",
"11.1.0",
"11.2.1",
"11.3.0",
"12.0.0",
"12.1.0",
"12.1.1",
"12.2.0",
"12.3.0"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/pillow/PYSEC-2026-4339.yaml"
},
"ecosystem_specific": {}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6",
"type": "ADVISORY"
},
{
"url": "https://github.com/python-pillow/Pillow/pull/10105",
"type": "REPORT"
},
{
"url": "https://github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a",
"type": "FIX"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | pillow | Not a distribution channel | 13.0.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:18.502ZArchived source JSON
Source publication: 2026-10-22T16:00:15.000Z
Source modification: 2026-10-29T10:55:37.663ZDocument fingerprint
7841b6cd095d8124afcf08eb6d62fae499d65ba3c479f0ba0d61d936705802fd - OSVConsulted: 2026-11-19T12:52:18.502ZArchived source JSON
Source publication: 2026-10-21T21:20:32.217Z
Source modification: 2026-10-29T10:55:37.663ZDocument fingerprint
7841b6cd095d8124afcf08eb6d62fae499d65ba3c479f0ba0d61d936705802fd - CVE ProgramConsulted: 2026-11-19T12:59:29.038ZArchived source JSON
Source publication: 2026-10-21T21:06:42.111Z
Source modification: 2026-10-29T10:51:37.735ZDocument fingerprint
ac136c62a5f81fee358d613eb4e62aae09400b8a7596a287c64b2e39d6b5d887 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:57.117ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
c69dd4f6cb71bc8755eaf58391a4437b9a607bb1a1871683b3277766e21e30c9
Official status history
- UNKNOWN → PUBLISHED · · evidence