{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "76869efdbbf2ad7dccd7536520fb61b7a00ab61e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "13.0.0",
                "range": [
                  {
                    "fixed": "293218ad059d994baf1777d882911bed6a49704a"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "76869efdbbf2ad7dccd7536520fb61b7a00ab61e"
            },
            {
              "fixed": "293218ad059d994baf1777d882911bed6a49704a"
            }
          ],
          "repo": "https://github.com/python-pillow/pillow",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-462x-pgg6-55fp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112395.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "8.2.0"
              },
              {
                "fixed": "13.0.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "13.0.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-112395",
  "modified": "2026-10-21T02:30:52.586024808Z",
  "published": "2026-10-19T20:59:15.098Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112395.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python-pillow/Pillow/commit/76869efdbbf2ad7dccd7536520fb61b7a00ab61e"
    },
    {
      "type": "WEB",
      "url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-462x-pgg6-55fp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112395"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)"
}