CVE-2026-112403 Pillow - Heap Corruption & Remote Code Execution

Pillow < 13.0.0 contains a heap corruption vulnerability caused by improper verification of JPEG decoder output width and component count when using draft scaling, letting attackers supply crafted JPEGs to cause crashes or code execution, exploit requires processing crafted JPEG images.

CVSS base score 9.2 /10
Critical
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗

Details

Type
Heap Corruption
Impact
Remote Code Execution, Denial Of Service
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
19 October 2026
Updated
20 October 2026
Weakness
CWE-122

Vendor fix

Upgrade to version 13.0.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs