// Security Advisory Triage

pypdf DoS via malformed FlateDecode streams, patched in 6.18.1

GitHub advisories — pip · published 2026-10-02 21:55 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-jw7q-gvrg-4vj3 on 2026-10-01, a high-severity advisory for pypdf (CVE-2026-102997). Malformed FlateDecode streams in PDFs can cause long runtimes, creating a denial-of-service condition. First patched version is 6.18.1.
WHY IT MATTERSAny service processing untrusted PDFs with pypdf versions below 6.18.1 can be forced into extended CPU consumption by a crafted file, degrading availability for other requests or exhausting compute budgets.
WHAT TO DOGrep your dependency trees for pypdf < 6.18.1 and upgrade to 6.18.1 or later. If you process user-uploaded PDFs, prioritize this over libraries handling only internal documents.
Model-reported confidence 90% (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-jw7q-gvrg-4vj3
+summary: pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
+severity: high
+published_at: 2026-10-01T15:06:33Z
+cve_id: CVE-2026-102997
+vulnerabilities[].package.name: pypdf
+vulnerabilities[].first_patched_version: 6.18.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningNew high-severity advisory for pypdf, a widely-used PDF library. DoS risk warrants patching decision.
signalsnew advisory entry · high severity rating · pypdf is a common PDF processing library in dependency trees · first_patched_version specified (6.18.1) · CVE assigned · DoS vector (long runtimes) affects availability
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)