Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0.
- Products
- pillow
- Affected versions
- Not specified
- Fixed versions
- 13.0.0
- CVEs
- CVE-2026-112395
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 17:42 UTC · Revision 1
Source evidence
Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
core-osv · Original sourcePublished 26 Oct 2026, 05:55 UTC
Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0.
osv:BIT-pillow-2026-112395
pillow
Fixed versions: 13.0.0
Complete source record
{
"id": "60f04797bac26fe9907a520084ec4a66a45bfd3ae0d36b16b4bdce301433da75",
"url": "https://osv.dev/vulnerability/BIT-pillow-2026-112395",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)",
"summary": "Pillow is a Python imaging library. From 8.2.0 until 13.0.0, Pillow's tiled-TIFF decoder can read past the tile buffer while copying four-byte pixels. In _decodeTile, libtiff can return a tile allocation smaller than the required row stride multiplied by the tile length, and Pillow's stride-and-copy loop walks beyond that allocation. An attacker can supply a crafted tiled TIFF to an application that loads it. This can expose adjacent heap data in pixels or crash the process. This issue is fixed in version 13.0.0.",
"evidence": "osv:BIT-pillow-2026-112395",
"products": [
{
"name": {
"value": "pillow",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "13.0.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "BIT-pillow-2026-112395",
"aliases": [
"BIT-pillow-2026-112395",
"CVE-2026-112395",
"GHSA-462x-pgg6-55fp"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "8.2.0"
},
{
"fixed": "13.0.0"
}
]
}
],
"package": {
"name": "pillow",
"purl": "pkg:bitnami/pillow",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2026-112395.json"
}
}
],
"modified": "2026-10-27T09:30:02.462926978Z",
"provider": "osv",
"references": [
"https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e",
"https://github.com/python-pillow/Pillow/releases/tag/13.0.0",
"https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp",
"https://nvd.nist.gov/vuln/detail/CVE-2026-112395"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:python:pillow:*:*:*:*:*:python:*:*"
],
"severity": "High"
}
},
"related_cves": [
{
"value": "CVE-2026-112395",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 461034,
"published_at": "2026-10-26T05:55:37.036+00:00"
}