CVE-2026-112403: Vulnerability in Python Pillow

Critical. 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...

PyPI, CWE-122

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-8g5g-8vmr-9782
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-122
Published
19 Oct 2026
Last change
27 Oct 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Python Pillow Before 13.0.0. Fixed in 13.0.0

Affected packages

Vulnerable version ranges and fixed releases

  • Pillow PyPI, Affected through 12.3.0. Fixed in 13.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related