Python Imaging Library Vulnerability in Pillow by Python Software Foundation
CVE-2026-112891

6.9MEDIUM

Key Information:

Status
Vendor
CVE Published:
19 October 2026

What is CVE-2026-112891?

The Pillow library, a popular Python imaging solution, exhibits a vulnerability where excessive CPU consumption can occur due to inefficient handling of long comments in GIF files. When an untrusted input image with a large GIF comment is processed, the function responsible for assembling the global header, _get_global_header(), repeatedly copies segments of this data, leading to potential denial of service. Users should upgrade to version 13.0.0 or later to mitigate this issue.

Affected Version(s)

Pillow >= 9.2.0, < 13.0.0

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.