Skip to main content
VulnerabilityPublished Updated

CVE-2026-112396: From 11.3.0 until 13.0.0, Pillow has a heap use-after-free when libtiff rejects a tag while encoding

Affects pillowSource GCVE Database

0
Authoritative record:CVE-2026-112396· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 13.0.0 when convenient.

Data as of 27 Oct 2026, 11:14 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 13.0.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade pillow to 13.0.0.

Affected software

ProductAffectedFixed in
PyPIpillowpkg:pypi/pillowOther threatsAffected
  • 11.3.0 – 12.3.0
  • >=11.3.0 <13.0.0
6 affected builds
Fixed in
  • 13.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Pillow to version 13.0.0 or later, where this vulnerability is fixed. The patch is available and should be applied to affected environments to prevent exploitation.

Description

Pillow versions from 11.3.0 up to but not including 13.0.0 contain a heap use-after-free vulnerability triggered when libtiff rejects a tag during TIFF encoding to an in-memory buffer. This flaw can cause a process crash and may allow code execution. The issue is resolved in Pillow version 13.0.0.

References

Community reviews

Loading reviews…