ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-112891

An attacker can supply an image with a large GIF comment to an application that saves it as GIF.

CVSS
7.5High
Chance of exploitation (EPSS)
0.55%
Published
Oct 19, 2026
In the news
2 stories
Vendor advisory More from this vendor

What to do

A serious security flaw in Python Pillow and Python-pillow Pillow that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.

Action: Apply the vendor's update or follow its advisory.

Affected versions
Python-pillow Pillow
>= 9.2.0, < 13.0.0

Description

Pillow is a Python imaging library. From 9.2.0 until 13.0.0, Pillow performs quadratic copying when saving a GIF with a long comment. _get_global_header() repeatedly copies portions of comment data while assembling the global header, including comments retained from an untrusted input image. An attacker can supply an image with a large GIF comment to an application that saves it as GIF. This can consume excessive CPU and delay or deny service. This issue is fixed in version 13.0.0.

CWE-407

Affected products

Get alerts for these →

Timeline 11

Latest change: USN-9064-2: Pillow regression (Nov 16, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 3

  • github.com Patch /python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e
  • github.com Vendor Advisory /python-pillow/Pillow/security/advisories/GHSA-fc9g-5qg7-mf45
  • github.com /python-pillow/Pillow/releases/tag/13.0.0

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”