CVE-2026-96637

Publication date 21 October 2026

Last updated 14 November 2026


Ubuntu priority

Cvss 3 Severity Score

6.5 · Medium

Score breakdown

Description

Pillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces self._size without rerunning Image._decompression_bomb_check(). A tiny file can use a safe first frame to pass Image.open() and then declare very large dimensions in a later mode F frame. Loading that frame allocates approximately four bytes per attacker-declared pixel and can consume multiple gigabytes of memory. This issue is fixed in version 13.0.0.

Status

Package Ubuntu Release Status
pillow 26.10 stonking
Fixed in 12.3.0-1ubuntu2
26.04 LTS resolute
Fixed in 12.1.1-2ubuntu1.5
24.04 LTS noble
Fixed in 10.2.0-1ubuntu1.5
22.04 LTS jammy
Fixed in 9.0.1-1ubuntu0.7
20.04 LTS focal
Fixed in 7.0.0-4ubuntu0.9+esm2
18.04 LTS bionic
Fixed in 5.1.0-1ubuntu0.8+esm3
16.04 LTS xenial
Fixed in 3.1.2-0ubuntu1.6+esm4
14.04 LTS trusty
Not affected
pillow-python2 26.10 stonking Not in release
26.04 LTS resolute Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Needs evaluation

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version:

Base score 7.1 · High

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Base score 6.5 · Medium

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H


Access our resources on patching vulnerabilities