AI Science Tracker

Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer

Pillow · AI involvement attributed to AISLE AI-native discovery engine (specific model not identified)

Finding and attribution

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.

Product: Pillow. AI system: AISLE AI-native discovery engine (specific model not identified). Team / organization: AISLE.

CVE identifiers: CVE-2026-112396.

AI and human contribution (source account): 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.

Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.

Discovery context: 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.

Remediation status: fix documented. 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.

A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.

Disclosed 19 Oct 2026. AI attribution date not established by the source. Sources checked 17 Nov 2026; these are separate dates, not a live installation check.

Recorded CVSS: Medium · highest recorded score 5.9. Documented technical effects: other.

Severity, consequences and exploitation evidence

Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.

  • CVE-2026-112396: CVSS 3.1 · 5.9 (Medium) · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. CVE Program CNA record · checked 17 Nov 2026.
  • CVE-2026-112396: CVSS 3.1 · 5.9 (Medium) · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H. Maintainer GitHub Security Advisory · checked 17 Nov 2026.

CVE-2026-112396: other.
Prerequisites / affected scope: 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 evidence: Exploitation status is not stated in the reviewed CNA/advisory evidence.. Impact source · checked 17 Nov 2026.

Documented fix: 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.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases