Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-112396

published medium CVSS 3.1 · 5.9

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

Published
19 Oct 2026, 21:02:15 UTC
Updated
20 Oct 2026, 16:09:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
python-pillow — Pillow>= 11.3.0, < 13.0.0 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-16 python313-Pillowaarch64 Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
Ubuntu resolute pillow Advisory build 12.1.1-2ubuntu1.5 USN-9064-1
SUSE / openSUSE SLE-16 python313-Pillowaarch64 Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24701-1
SUSE / openSUSE SLE-16 python313-Pillowppc64le Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
SUSE / openSUSE SLE-16 python313-Pillows390x Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
Show 43 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 python313-Pillowx86_64 Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
SUSE / openSUSE SLE-16 python313-Pillow-tkaarch64 Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
SUSE / openSUSE SLE-16 python313-Pillow-tkaarch64 Advisory build 11.3.0-160100.3.1 SUSE-SU-2026:24701-1
SUSE / openSUSE SLE-16 python313-Pillow-tkppc64le Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
SUSE / openSUSE SLE-16 python313-Pillow-tks390x Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
SUSE / openSUSE SLE-16 python313-Pillow-tkx86_64 Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillowaarch64 Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillowppc64le Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillows390x Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillowx86_64 Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tkaarch64 Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tkppc64le Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tks390x Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tkx86_64 Advisory build 11.3.0-160000.9.1 OPENSUSE-SU-2026:22246-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillowaarch64 Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillowppc64le Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillows390x Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillowx86_64 Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillow-tkaarch64 Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillow-tkppc64le Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillow-tks390x Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Leap-16.1 python313-Pillow-tkx86_64 Advisory build 11.3.0-160100.3.1 OPENSUSE-SU-2026:22301-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowaarch64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowppc64le Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillows390x Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowx86_64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkaarch64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkppc64le Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tks390x Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkx86_64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowaarch64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowppc64le Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillows390x Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowx86_64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkaarch64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkppc64le Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tks390x Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkx86_64 Advisory build 13.0.0-1.1 OPENSUSE-SU-2026:12230-1
Ubuntu resolute python3-pil Advisory build 12.1.1-2ubuntu1.5 USN-9064-1
Ubuntu resolute python3-pil.imagetk Advisory build 12.1.1-2ubuntu1.5 USN-9064-1
Ubuntu stonking pillow Advisory build 12.3.0-1ubuntu2 USN-9064-1
Ubuntu stonking python3-pil Advisory build 12.3.0-1ubuntu2 USN-9064-1
Ubuntu stonking python3-pil.imagetk Advisory build 12.3.0-1ubuntu2 USN-9064-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

7

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.9 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
python-pillow Pillow >= 11.3.0, < 13.0.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-416 CWE-416: Use After Free (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
ef3db51b6645120e86610595c9ac28e02e62c454e4cdd34fb55b35da56a542e4
Ingested
20 Oct 2026, 16:20:55 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected