// Security Advisory Triage
Pillow PDF save_all DoS fixed in 13.0.0
GitHub advisories — pip · published 2026-10-22 17:17 UTC
WHAT CHANGEDCVE-2026-112894 published 21 October 2026: Pillow's PdfParser.next_object_id function has quadratic-time complexity that allows denial-of-service attacks when saving PDFs with save_all. Patched in version 13.0.0.
WHY IT MATTERSApplications that accept user-supplied images and convert them to PDF are vulnerable to resource exhaustion attacks. An attacker can craft input that causes processing time to scale quadratically, consuming CPU and blocking other requests.
WHAT TO DOVerify whether you run Pillow <13.0.0 and process user-supplied images into PDF format. If yes, update to Pillow 13.0.0 in this cycle.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-jg86-v3jv-hrpm +summary: Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id) +severity: high +published_at: 2026-10-21T21:11:44Z +cve_id: CVE-2026-112894 +vulnerabilities[].package.name: Pillow +vulnerabilities[].first_patched_version: 13.0.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Pillow is a standard image-processing dependency. High-severity DoS in PDF save affects services handling user uploads. |
| signals | known CVE with assigned ID · high severity rating · affects Pillow — image processing library in common dependency trees · DoS vector in PDF handling — potential attack surface · patched version identified (13.0.0) · published advisory with future date (2026-10-21) |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |