CVE-2026-112401

NameCVE-2026-112401
DescriptionPillow is a Python imaging library. From 5.4.0 until 13.0.0, Pillow performs quadratic copying while parsing GIF comments. GifImageFile._seek() repeatedly appends immutable bytes for comment sub-blocks and multiple comment extensions, and frame zero is parsed during Image.open(). An attacker can submit a small-dimension GIF containing many comment extensions to any application that opens the file. This can consume excessive CPU and deny service before the application can inspect the image. This issue is fixed in version 13.0.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pillow (PTS)bookworm, bookworm (security)9.4.0-1.1+deb12u1vulnerable
trixie11.1.0-5+deb13u4vulnerable
trixie (security)11.1.0-5+deb13u3vulnerable
forky12.3.0-1vulnerable
sid13.0.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pillowsource(unstable)13.0.0-1

Notes

https://github.com/python-pillow/Pillow/security/advisories/GHSA-74r2-7ff9-mjj2
Fixed by: https://github.com/python-pillow/Pillow/commit/68a3fe957d8a4d552e8c69d96066d749f0614c7e (13.0.0)

Search for package or bug name: Reporting problems