pillow — security advisory
Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.
- Products
- pillow
- Affected versions
- 11.1.0-5, 11.1.0-5+deb13u1, 11.2.1-1, 11.3.0-1, 12.0.0-1, 12.1.0-1, 12.1.1-1, 12.1.1-2
- Fixed versions
- 11.1.0-5+deb13u2, 12.2.0-1
- CVEs
- CVE-2026-40192
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:46 UTC · Revision 2
Source evidence
Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.
osv:DEBIAN-CVE-2026-40192
pillow
Fixed versions: 11.1.0-5+deb13u2
pillow
Fixed versions: 12.2.0-1
Complete source record
{
"id": "9c5922f03e3292bbf16e50da978757dd9136a4990d375fb24d72b0697dbc5dd2",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-40192",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-40192",
"summary": "Pillow is a Python imaging library. Versions 10.3.0 through 12.1.1 did not limit the amount of GZIP-compressed data read when decoding a FITS image, making them vulnerable to decompression bomb attacks. A specially crafted FITS file could cause unbounded memory consumption, leading to denial of service (OOM crash or severe performance degradation). If users are unable to immediately upgrade, they should only open specific image formats, excluding FITS, as a workaround.",
"evidence": "osv:DEBIAN-CVE-2026-40192",
"products": [
{
"name": {
"value": "pillow",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "11.1.0-5+deb13u2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "11.1.0-5",
"evidence": "/affected/0/versions"
},
{
"value": "11.1.0-5+deb13u1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "pillow",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "12.2.0-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "11.1.0-5",
"evidence": "/affected/1/versions"
},
{
"value": "11.2.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "11.3.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "12.0.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "12.1.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "12.1.1-1",
"evidence": "/affected/1/versions"
},
{
"value": "12.1.1-2",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-40192",
"aliases": [
"DEBIAN-CVE-2026-40192"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "11.1.0-5+deb13u2"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:deb/debian/pillow?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"11.1.0-5",
"11.1.0-5+deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40192.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"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-40192.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-27T09:47:41.642481254Z",
"provider": "osv",
"upstream": [
"CVE-2026-40192"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-40192"
]
},
"related_cves": [
{
"value": "CVE-2026-40192",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 461153,
"published_at": "2026-04-15T23:16:10.053+00:00"
}