Skip to content
Heist/ feed
Back to feed
Medium

Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

Type: advisorySources: Official CVE List

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
Not specified
CVEs
CVE-2026-112395
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:56 UTC · Revision 2

Source evidence

Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

core-cve · Original source

Published 19 Oct 2026, 20:59 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.

cve:CVE-2026-112395

Pillow

Fixed versions: Not specified

Complete source record
{
  "id": "af0bfb123edd251b91fa376a5c2edf9fde00494d89471948ff984294adf6dc63",
  "url": "https://www.cve.org/CVERecord?id=CVE-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": "cve:CVE-2026-112395",
    "products": [
      {
        "name": {
          "value": "Pillow",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-112395",
      "aliases": [
        "CVE-2026-112395"
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 6.5,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "LOW",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "LOW"
          }
        }
      ],
      "affected": [
        {
          "vendor": "python-pillow",
          "product": "Pillow",
          "versions": [
            {
              "status": "affected",
              "version": ">= 8.2.0, < 13.0.0"
            }
          ]
        }
      ],
      "modified": "2026-10-28T15:24:49.805Z",
      "provider": "cve",
      "references": [
        "https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp",
        "https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e",
        "https://github.com/python-pillow/Pillow/releases/tag/13.0.0"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-112395",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-28T15:24:42.550709Z"
                  }
                }
              }
            ],
            "references": [
              {
                "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp",
                "tags": [
                  "exploit"
                ]
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-28T15:24:49.805Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-19T20:59:15.098Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-112395",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 456110,
  "published_at": "2026-10-19T20:59:15.098+00:00"
}