{
  "id": "cve-2026-112396",
  "title": "Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer",
  "product": "Pillow",
  "ai_system": "AISLE AI-native discovery engine (specific model not identified)",
  "organization": "AISLE",
  "summary": "Pillow is a Python imaging library. From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer.",
  "ai_role": "AISLE’s public CVE index labels this case among findings discovered by its AI-native engine. This is the company’s case-list attribution; the specific model, degree of automation and division of work between AI and people are not identified in the cited sources.",
  "disclosure_date": "2026-10-19",
  "ai_attribution_date": null,
  "classification": "disclosure",
  "classification_note": "The primary CNA record was published 2026-10-19. The reviewed sources do not establish whether the issue was known to defenders before disclosure or exploited in the wild; this classification does not make a zero-day or non-exploitation claim.",
  "cves": [
    "CVE-2026-112396"
  ],
  "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/112xxx/CVE-2026-112396.json",
  "ai_source_url": "https://aisle.com/cve-discoveries/",
  "remediation": "fix documented",
  "remediation_note": "The checked maintainer advisory documents patched version(s) 13.0.0. This is a release-level remediation statement and does not establish deployment on any installation.",
  "advisory_url": "https://github.com/advisories/GHSA-4rr5-89j8-mwwm",
  "checked_date": "2026-11-17",
  "cvss": [
    {
      "cve": "CVE-2026-112396",
      "version": "3.1",
      "score": 5.9,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/112xxx/CVE-2026-112396.json",
      "source_name": "CVE Program CNA record",
      "checked_date": "2026-11-17"
    },
    {
      "cve": "CVE-2026-112396",
      "version": "3.1",
      "score": 5.9,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "source_url": "https://github.com/advisories/GHSA-4rr5-89j8-mwwm",
      "source_name": "Maintainer GitHub Security Advisory",
      "checked_date": "2026-11-17"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-112396"
      ],
      "consequences": [
        "other"
      ],
      "conditions": "From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding TIFF data to an in-memory buffer. When an application saves attacker-influenced TIFF tags to BytesIO, libtiff can reject a tag during encoding in ImagingLibTiffEncode; the error path then frees the output buffer without closing or clearing the TIFF handle, and later cleanup flushes through the write callback into freed memory, which can crash the process and may enable code execution.",
      "exploitation": "Exploitation status is not stated in the reviewed CNA/advisory evidence.",
      "source_url": "https://github.com/advisories/GHSA-4rr5-89j8-mwwm",
      "checked_date": "2026-11-17"
    }
  ]
}
