{
  "id": "CVE-2026-112896",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-112896",
  "published_at": "2026-10-19T21:59:17.743Z",
  "title": "Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read",
  "vendor": "python-pillow",
  "product": "Pillow",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Pillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when the image is saved. An application that re-encodes the attacker's TIFF with libtiff can trigger the out-of-bounds read. This can disclose heap memory in the output or crash the process. This issue is fixed in version 13.0.0.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "python-pillow",
        "product": "Pillow",
        "ranges": [
          "\u003c 13.0.0"
        ],
        "fixed_in": [
          "13.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Pillow to 13.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/python-pillow/Pillow/security/advisories/GHSA-pchr-8j38-3x4p"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/python-pillow/Pillow/commit/d03dc3c587a9b0bdc9e4304d70d59a635a87b742"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/python-pillow/Pillow/releases/tag/13.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
