Skip to content
Heist/ feed
Back to feed
High

Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels

Type: advisorySources: Official CVE List

Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeTile and the RGBA unpacker path, when Pillow and libtiff interpret duplicated PhotometricInterpretation or BitsPerSample tags differently, Pillow does not verify that the required input row fits inside the row libtiff produced, while the strip path has this validation. Loading pixels from such a crafted TIFF can expose adjacent heap data in output 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-112404
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 14:53 UTC · Revision 2

Source evidence

Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels

core-cve · Original source

Published 19 Oct 2026, 21:27 UTC

Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeTile and the RGBA unpacker path, when Pillow and libtiff interpret duplicated PhotometricInterpretation or BitsPerSample tags differently, Pillow does not verify that the required input row fits inside the row libtiff produced, while the strip path has this validation. Loading pixels from such a crafted TIFF can expose adjacent heap data in output pixels or crash the process. This issue is fixed in version 13.0.0.

cve:CVE-2026-112404

Pillow

Fixed versions: Not specified

Complete source record
{
  "id": "c16aae581cacb7186876865d1351a505e6324f602f5b136913aba3d2c0741f00",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-112404",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels",
    "summary": "Pillow is a Python imaging library. From 8.1.0 until 13.0.0, Pillow's TIFF tile and RGBA decode paths can read beyond row data produced by libtiff. In _decodeTile and the RGBA unpacker path, when Pillow and libtiff interpret duplicated PhotometricInterpretation or BitsPerSample tags differently, Pillow does not verify that the required input row fits inside the row libtiff produced, while the strip path has this validation. Loading pixels from such a crafted TIFF can expose adjacent heap data in output pixels or crash the process. This issue is fixed in version 13.0.0.",
    "evidence": "cve:CVE-2026-112404",
    "products": [
      {
        "name": {
          "value": "Pillow",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-112404",
      "aliases": [
        "CVE-2026-112404"
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "version": "4.0",
            "baseScore": 8.8,
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "LOW"
          }
        }
      ],
      "affected": [
        {
          "vendor": "python-pillow",
          "product": "Pillow",
          "versions": [
            {
              "status": "affected",
              "version": ">= 8.1.0, < 13.0.0"
            }
          ]
        }
      ],
      "modified": "2026-10-28T15:18:51.938Z",
      "provider": "cve",
      "references": [
        "https://github.com/python-pillow/Pillow/security/advisories/GHSA-c6hw-5grf-ff96",
        "https://github.com/python-pillow/Pillow/commit/1d4773e6cea0c4a2814e6d4cdc099bbcf56da6ce",
        "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-112404",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-28T15:18:32.820467Z"
                  }
                }
              }
            ],
            "references": [
              {
                "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-c6hw-5grf-ff96",
                "tags": [
                  "exploit"
                ]
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-28T15:18:51.938Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-19T21:27:56.705Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-112404",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 454319,
  "published_at": "2026-10-19T21:27:56.705+00:00"
}