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-96778

published high CVSS 4.0 · 7.7

Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer

Published
21 Oct 2026, 20:58:24 UTC
Updated
28 Oct 2026, 01:53:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
python-pillow — Pillow>= 9.4.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 evaluationALAS2023-2026-3411 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-15-SP4 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
Ubuntu noble pillow Advisory build 10.2.0-1ubuntu1.5 USN-9064-1
Amazon Linux AL2023 python-pillowaarch64 Listed in advisory Not stated ALAS2023-2026-3411
SUSE / openSUSE SLE-15-SP4 python311-Pillowppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP4 python311-Pillows390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
Show 89 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP4 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP4 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillowppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillows390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP5 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillowppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillows390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP6 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillowppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillows390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-15-SP7 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-16 python313-Pillowaarch64 Advisory build 11.3.0-160000.9.1 SUSE-SU-2026:24656-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
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 SLE-3-SP7 python311-Pillowaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillowppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillows390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillowx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillow-tkaarch64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillow-tkppc64le Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillow-tks390x Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-1
SUSE / openSUSE SLE-3-SP7 python311-Pillow-tkx86_64 Advisory build 9.5.0-150400.5.28.1 SUSE-SU-2026:5194-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-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowppc64le Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillows390x Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillowx86_64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkaarch64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkppc64le Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tks390x Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python313-Pillow-tkx86_64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowaarch64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowppc64le Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillows390x Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillowx86_64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkaarch64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkppc64le Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tks390x Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
SUSE / openSUSE openSUSE-Tumbleweed python314-Pillow-tkx86_64 Advisory build 13.0.0-2.1 OPENSUSE-SU-2026:12251-1
Ubuntu noble python3-pil Advisory build 10.2.0-1ubuntu1.5 USN-9064-1
Ubuntu noble python3-pil.imagetk Advisory build 10.2.0-1ubuntu1.5 USN-9064-1
Ubuntu resolute pillow Advisory build 12.1.1-2ubuntu1.5 USN-9064-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
Amazon Linux AL2023 python-pillowsrc Listed in advisory Not stated ALAS2023-2026-3411
Amazon Linux AL2023 python-pillowx86_64 Listed in advisory Not stated ALAS2023-2026-3411

Description

Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM comment when an ICC profile has exactly filled the 65536-byte encoder buffer. libjpeg writes one byte before checking the exhausted free_in_buffer counter, which then wraps and permits the attacker-controlled comment and subsequent compressed image data to overwrite adjacent heap memory. Re-saving an untrusted image as JPEG while preserving its ICC profile and forwarded comment can crash the process and may enable code execution in suitable runtime and heap layouts. This issue is fixed in version 13.0.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

14

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.7 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

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

Weaknesses

1
  • CWE-787 CWE-787: Out-of-bounds Write (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
f577919b4359d52f93ff5f4414f64dd840e659361eb9da170609cab381dcf4f0
Ingested
28 Oct 2026, 02:00:09 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