DEBIAN-CVE-2026-42309
Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This issue has been patched in version 12.2.0.
DEBIAN-CVE-2026-42309
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-42309
pillow
Source reference: /affected/0/package/name
- Affected versions
- 11.1.0-5
Source reference:
/affected/0/versions11.2.1-1Source reference:
/affected/0/versions11.3.0-1Source reference:
/affected/0/versions12.0.0-1Source reference:
/affected/0/versions12.1.0-1Source reference:
/affected/0/versions12.1.1-1Source reference:
/affected/0/versions12.1.1-2Source reference:
/affected/0/versions - Fixed versions
- 12.2.0-1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "12.2.0-1"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:deb/debian/pillow?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"11.1.0-5",
"11.2.1-1",
"11.3.0-1",
"12.0.0-1",
"12.1.0-1",
"12.1.1-1",
"12.1.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-42309.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56935 · Revision 1
- Added to Heist Feed
- Publisher date