---
title: "CVE-2026-112891"
canonical_url: "https://pkgseek.com/security/CVE-2026-112891"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-112891

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.

CVE-2026-112891 严重级别为 HIGH (7.5)，共索引 5 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 5
- **涉及发行版**: 2
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-pil | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python3-pil.imagetk | 11.1.0-5+deb13u4 | — |
| Debian | trixie | python-pil-doc | 11.1.0-5+deb13u4 | — |
| Ubuntu | noble | python3-pil | 10.2.0-1build1 | — |
| Ubuntu | noble | python-pil-doc | 10.2.0-1build1 | — |
