PT-2026-120823

CVE-2026-96778

·

Published

2026-10-21

·

Updated

2026-11-12

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Pillow versions 9.4.0 through 12.x
Description The ImagingJpegEncode() function in src/libImaging/JpegEncode.c can call jpeg write marker() for a JPEG COM comment when an ICC profile exactly fills the 65536-byte encoder buffer. This causes libjpeg to write one byte before checking the free in buffer counter, which then wraps and allows an attacker-controlled comment and compressed image data to overwrite adjacent heap memory. Re-saving an untrusted image as JPEG while preserving its ICC profile and forwarded comment can lead to a process crash or potential code execution depending on the runtime and heap layouts.
Recommendations Update to version 13.0.0.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-G7CR-3P24-7WF7
BIT-PILLOW-2026-96778
CLEANSTART-2026-AA97377
CLEANSTART-2026-GS09226
ECHO-5F9D-BFB0-9576
OPENSUSE-SU-2026:12251-1
OPENSUSE-SU-2026:22246-1
RHSA-2026:92861
SUSE-SU-2026:24656-1
SUSE-SU-2026:5194-1
USN-9064-1
Found an issue in the description? Have something to add? Feel free to write us 👾