
CVE catalog
CVE-2026-96641
pillow affected and fixed versions
Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. Repeating a signed 16-bit advance of -32768 can therefore execute a signed C integer overflow in xsize += dx, producing a large positive width from a negative mathematical result. Applications that use getlength(), getsize(), or derived layout, quota, serialization, or allocation calculations can experience logic-integrity errors or resource consumption, while the high-level mask path commonly retains a decompression-bomb check. This issue is fixed in version 13.0.0.
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · 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-96641"
},
{
"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-96641"
},
{
"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-96641"
},
{
"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-96641"
},
{
"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-96641"
},
{
"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-96641"
},
{
"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-96641"
}
]
}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
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
- [python3-pil.imagetk]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
- [python-pil-doc]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookwormAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityAffected
dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
[Debian 13 (Trixie)]
- [python3-pil]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
dsa · pillow · debian · 13
- [python3-pil.imagetk]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityAffected
dsa · pillow · debian · 13
- [python-pil-doc]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
dsa · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityAffected
dsa · pillow · debian · 13
Observed:
References
- [https://github.com/python-pillow/Pillow/commit/80de4be9e38d3a6148dd4d8491eb80cd12b760a4]
- [https://github.com/python-pillow/Pillow/pull/10010]
- [https://github.com/python-pillow/Pillow/releases/tag/13.0.0]
- [https://github.com/python-pillow/Pillow/security/advisories/GHSA-4rm8-3hmm-39fg]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-96641]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-96641]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-96641]
- [https://security-tracker.debian.org/tracker/CVE-2026-96641]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-96641.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]