Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-112396

pillow: pillow: arbitrary code execution via heap use-after-free during TIFF encoding

Overview

Published
19 Oct 2026
Modified
26 Oct 2026
High CVE
2 Registry packages
22 OS packages
9 Linux distributions
Yes Fix available

Description

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. 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. This issue is fixed in version 13.0.0.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-416

Affected packages · 2

Packages affected by CVE-2026-112396
EcosystemPackageVulnerableFixed in
Bitnami pillow >=11.3.0, <13.0.0 13.0.0
PyPI pillow >=11.3.0, <13.0.0 13.0.0

Open a package to see all its vulnerabilities.

Operating systems · 26 fixes

Red Hat 2 releases · 1 package

affected 2
python-pillow
Red Hat fixes for CVE-2026-112396
ReleasePackageFixed in
7 python-pillow +1 affected
8 python-pillow +4 affected

SUSE Linux Enterprise 2 releases · 1 package

fixed 2
python313-pillow
SUSE Linux Enterprise fixes for CVE-2026-112396
ReleasePackageFixed inAdvisory
16.0 python313-pillow +1 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
16.1 python313-pillow +1 11.3.0-160100.3.1 SUSE-SU-2026:24701-1

chainguard 1 release · 11 packages

fixed 11
open-webui nemo-gym nemo-rl-cuda-13-0 nemo-skills py3-pillow py3-pytorch-cuda-13-0 +5
chainguard fixes for CVE-2026-112396
ReleasePackageFixed in
open-webui 0.12.3-r6
nemo-gym 0.5.0_rc0_git20260729-r6
nemo-rl-cuda-13-0 0.7.0-r11
nemo-skills 0.7.0_git20260911-r5
py3-pillow 13.0.0-r0
py3-pytorch-cuda-13-0 2.14.1-r2

5 more rows

debian 4 releases · 1 package

affected 3 fixed 1
pillow
debian fixes for CVE-2026-112396
ReleasePackageFixed in
11 pillow affected
12 pillow affected
13 pillow affected
14 pillow 13.0.0-1

echo 1 release · 1 package

affected 1
pillow
echo fixes for CVE-2026-112396
ReleasePackageFixed in
pillow affected

openSUSE 1 release · 1 package

fixed 1
python313-pillow
openSUSE fixes for CVE-2026-112396
ReleasePackageFixed inAdvisory
Tumbleweed python313-pillow +3 13.0.0-1.1 openSUSE-SU-2026:12230-1

openSUSE Leap 2 releases · 1 package

fixed 2
python313-pillow
openSUSE Leap fixes for CVE-2026-112396
ReleasePackageFixed inAdvisory
16.0 python313-pillow +1 11.3.0-160000.9.1 openSUSE-SU-2026:22246-1
16.1 python313-pillow +1 11.3.0-160100.3.1 openSUSE-SU-2026:22301-1

ubuntu 1 release · 1 package

fixed 1
pillow
ubuntu fixes for CVE-2026-112396
ReleasePackageFixed in
26.04 pillow 12.1.1-2ubuntu1.5

wolfi 1 release · 2 packages

fixed 2
open-webui py3-pillow
wolfi fixes for CVE-2026-112396
ReleasePackageFixed in
open-webui 0.12.3-r6
py3-pillow 13.0.0-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.