ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can igno…
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 1.7%
- Published
- Oct 19, 2026
- In the news
- 2 stories
What to do
A critical buffer overflow in Python Pillow and Python-pillow Pillow that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Python-pillow Pillow
- < 13.0.0
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. This issue is fixed in version 13.0.0.
Affected products
Get alerts for these →Timeline 14
Latest change: USN-9064-2: Pillow regression (Nov 16, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Mon, Nov 16, 2026
- AdvisoryUSN-9064-2: Pillow regressionUbuntu · 18:07 UTC
Sat, Nov 14, 2026
Thu, Nov 12, 2026
- AdvisoryUSN-9064-1: Pillow vulnerabilitiesUbuntu · 15:55 UTC
- DetectionNessus plugin 379493: SUSE SLED15 / SLES15 Security Update : python-Pillow (SUSE-SU-2026:5194-1)Tenable
- DetectionNessus plugin 379568: Fedora 43 : python-pillow (2026-bae971fad8)Tenable
Fri, Nov 6, 2026
Thu, Nov 5, 2026
Fri, Oct 30, 2026
- DetectionNessus plugin 374295: RHEL 9 : Satellite 6.19 (RHSA-2026:92861)Tenable
Wed, Oct 28, 2026
- DetectionNessus plugin 367841: Linux Distros Unpatched Vulnerability : CVE-2026-112403Tenable
- DetectionTenable Cloud Security plugin 476408: SCA: security update for Pillow (GHSA-8g5g-8vmr-9782)Tenable
- DetectionTenable Container Security plugin 476408: SCA: security update for Pillow (GHSA-8g5g-8vmr-9782)Tenable
Mon, Oct 19, 2026
- CVECVE-2026-112403 published (CVSS 9.8)CVE Program · 22:17 UTC
References 4
- github.com Patch /python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75
- github.com ExploitVendor Advisory /python-pillow/Pillow/security/advisories/GHSA-8g5g-8vmr-9782
- github.com ExploitVendor Advisory /python-pillow/Pillow/security/advisories/GHSA-8g5g-8vmr-9782
- github.com /python-pillow/Pillow/releases/tag/13.0.0