THREAT OPS › Threat News › [GHSA] GHSA-fc9g-5qg7-mf45 (medium) — Pillow: Quadratic GIF comment copying during save
[GHSA] GHSA-fc9g-5qg7-mf45 (medium) — Pillow: Quadratic GIF comment copying during save
GHSA-fc9g-5qg7-mf45 Severity: medium CVE: CVE-2026-112891
Pillow: Quadratic GIF comment copying during save
On Pillow 12.3.0 and upstream `main` (`ad277e2761b489681e71b51e91367d46b0ceabb9`), a GIF with a long comment makes `_get_global_header()` copy portions of the comment repeatedly when saving, including comments carried over from untrusted images. I suggest provisional **Moderate** severity
Indicators of compromise
- ad277e2761b489681e71b51e91367d46b0ceabb9sha1
- CVE-2026-112891cve
Original source: https://github.com/advisories/GHSA-fc9g-5qg7-mf45