SEVERITY AND EXPLOITATION CONTEXT

CVE-2026-112403: Pillow: Heap buffer overflow in ImagingJpegDecode

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

Pillow: Heap buffer overflow in ImagingJpegDecode

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.

Published CVE snapshot: 2026-10-22. Record last updated: 2026-10-19T21:22:21.077Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 4.0: 9.2 Critical

Calculated from the published vector. Base score: 9.2. Provider-reported Base score: 9.2.

Vector and metric explanationsCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)HExploitation depends on overcoming a specific security-enhancing condition, such as defeating a mitigation.
Attack requirements (AT)NNo particular deployment or execution prerequisite is needed.
Privileges required (PR)NThe attacker needs no privileges before exploiting the vulnerability.
User interaction (UI)NNo other user must participate for exploitation to succeed.
Confidentiality (VC)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (VI)HIntegrity is completely lost, or modification has a direct, serious consequence.
Availability (VA)HAvailability is completely lost, or the disruption has a direct, serious consequence.
Confidentiality (SC)NNo impact to this property is established in a subsequent system.
Integrity (SI)NNo impact to this property is established in a subsequent system.
Availability (SA)NNo impact to this property is established in a subsequent system.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • python-pillow · Pillow

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (3)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2026 · All published CVEs · Calculation methodology